Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface {
DBHost() string
DBName() string
DBTable() string
DBUsername() string
DBPassword() string
DBKeyColumn() string
DBValueColumn() string
}
DB defines config getters for the database Store parameters.
type Encryptor ¶
type Encryptor interface {
SelectedEncryptor
KMS
AES
KDF
}
Encryptor defines the interface providing getters related to encryptors
type KDF ¶ added in v1.1.0
type KDF interface {
KDFKey() string
}
KDF defines the configuration options for PBKDF2 support
type Redis ¶
type Redis interface {
RedisHost() string
RedisDbIndex() int
RedisPassword() string
RedisMaxRetries() int
RedisReadTimeout() time.Duration
RedisWriteTimeout() time.Duration
}
Redis defines config getters for the Redis store parameters.
type SelectedEncryptor ¶
type SelectedEncryptor interface {
Encryptor() string
}
SelectedEncryptor defines config getters for the Encryptor type.
type SelectedStore ¶
type SelectedStore interface {
Store() string
}
SelectedStore defines config getters for the Store type.
type Store ¶
type Store interface {
SelectedStore
Redis
DB
}
Store defines the interface providing getters related to stores
Click to show internal directories.
Click to hide internal directories.