Documentation ¶ Index ¶ Variables func Deobfuscate(l esl.Logger, key, b []byte) (d []byte, err error) func Obfuscate(l esl.Logger, key, d []byte) (b []byte, err error) type Storage func NewStorage(c app_control.Control) Storage Constants ¶ This section is empty. Variables ¶ View Source var ( ErrorStorageNotFound = errors.New("storage not found") ) Functions ¶ func Deobfuscate ¶ func Deobfuscate(l esl.Logger, key, b []byte) (d []byte, err error) func Obfuscate ¶ func Obfuscate(l esl.Logger, key, d []byte) (b []byte, err error) Types ¶ type Storage ¶ type Storage interface { // Put the value into the path. The `v` should be serializable to JSON format. Put(path string, v interface{}) error // Retrieve the value from the path. Get(path string, v interface{}) error } func NewStorage ¶ func NewStorage(c app_control.Control) Storage Source Files ¶ View all Source files storage.go Click to show internal directories. Click to hide internal directories.