Documentation
¶
Index ¶
- type Config
- type Configurator
- type Encrypter
- type Hasher
- type Keeper
- func (k *Keeper) Decrypt(content io.Reader) (io.Reader, error)
- func (k *Keeper) Encrypt(content io.Reader) (io.Reader, error)
- func (k *Keeper) Hash(password string) (string, error)
- func (k *Keeper) SetConfigurator(c Configurator) *Keeper
- func (k *Keeper) SetEncrypter(e Encrypter) *Keeper
- func (k *Keeper) SetHasher(h Hasher) *Keeper
- func (k *Keeper) Setup(input ...any) *Keeper
- func (k *Keeper) Verify(hashedPassword, password string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurator ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (*Keeper) SetConfigurator ¶
func (k *Keeper) SetConfigurator(c Configurator) *Keeper
func (*Keeper) SetEncrypter ¶
Click to show internal directories.
Click to hide internal directories.