file

package
v0.0.0-...-72e4b90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	WorkDir string
	Encoder encoder.Encoder
}

func (*Store) Add

func (s *Store) Add(key string, data []byte, args ...interface{}) error

func (*Store) AddToRegistry

func (s *Store) AddToRegistry(key string) error

func (*Store) AddToRegistryData

func (s *Store) AddToRegistryData(registryData []byte, data string) []byte

func (*Store) DecryptRegistry

func (s *Store) DecryptRegistry() ([]byte, error)

func (*Store) Delete

func (s *Store) Delete(key string) error

func (*Store) Edit

func (s *Store) Edit(key string, data []byte, args ...interface{}) error

func (*Store) EncryptRegistry

func (s *Store) EncryptRegistry(registryData []byte) error

func (*Store) Get

func (s *Store) Get(key string) ([]byte, error)

func (*Store) SetEncodeKey

func (s *Store) SetEncodeKey(key, salt string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL