Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecureJsonData ¶
SecureJsonData is used to store encrypted data (for example in data_source table). Only values are separately encrypted.
func GetEncryptedJsonData ¶
func GetEncryptedJsonData(sjd map[string]string) SecureJsonData
GetEncryptedJsonData returns map where all keys are encrypted.
func (SecureJsonData) Decrypt ¶
func (s SecureJsonData) Decrypt() map[string]string
Decrypt returns map of the same type but where the all the values are decrypted. Opposite of what GetEncryptedJsonData is doing.
func (SecureJsonData) DecryptedValue ¶
func (s SecureJsonData) DecryptedValue(key string) (string, bool)
DecryptedValue returns single decrypted value from SecureJsonData. Similar to normal map access second return value is true if the key exists and false if not.
Click to show internal directories.
Click to hide internal directories.