Documentation ¶
Overview ¶
Package db provides persistent storage and caching of values returned from the registry. Sensitive data is stored in the db in its encrypted form.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB is a persistent store for encrypted or non-sensitvie values.
func NewDB ¶
NewDB creates a new db or opens an existing db at the given path. If the db already exists but has a mismatched version, it will be cleared before being returned.
Click to show internal directories.
Click to hide internal directories.