(key string, isReservePart bool)
| 108 | } |
| 109 | |
| 110 | func (sLog *smartIDELogStruct) addEntryptionKey(key string, isReservePart bool) { |
| 111 | if strings.TrimSpace(key) == "" { |
| 112 | return |
| 113 | } |
| 114 | isContain := false |
| 115 | for _, item := range _entryptionKeyConfigs { |
| 116 | if item.SecretKey == key { |
| 117 | isContain = true |
| 118 | } |
| 119 | } |
| 120 | if !isContain { |
| 121 | _entryptionKeyConfigs = append(_entryptionKeyConfigs, entryptionKeyConfig{key, isReservePart}) |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | func entryptionKeys(contents []string) []string { |
| 126 | result := []string{} |
no outgoing calls
no test coverage detected