Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptFields ¶
DecryptFields iterates through the given struct and decrypts all fields marked with a struct tag of `encrypt:"true"`. The fields are directly manipulated and the value is replaced.
The input object needs to be a pointer to a struct!
func EncryptFields ¶
EncryptFields iterates through the given struct and encrypts all fields marked with a struct tag of `encrypt:"true"`. The fields are directly manipulated and the value is replaced.
The input object needs to be a pointer to a struct!
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.