Documentation ¶ Index ¶ type Store func New(path, encryptionKey string) (Store, error) func (store *Store) DeleteSecret(key string) error func (store *Store) GetSecret(key string) (string, error) func (store *Store) ListSecretKeys(prefix string) ([]string, error) func (store *Store) PutSecret(key string, content string, force bool) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Store ¶ type Store struct { *sqlx.DB // contains filtered or unexported fields } Store is a representation of the bolt datastore func New ¶ func New(path, encryptionKey string) (Store, error) New creates a new boltdb with given settings func (*Store) DeleteSecret ¶ func (store *Store) DeleteSecret(key string) error func (*Store) GetSecret ¶ func (store *Store) GetSecret(key string) (string, error) func (*Store) ListSecretKeys ¶ func (store *Store) ListSecretKeys(prefix string) ([]string, error) func (*Store) PutSecret ¶ func (store *Store) PutSecret(key string, content string, force bool) error Source Files ¶ View all Source files sqlite.go Click to show internal directories. Click to hide internal directories.