Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DefaultBucket struct { Secret HashSecret } `split_words:"true"` }
Config supports custom configuration.
type HashSecret ¶
type HashSecret []byte
HashSecret is used for hashing values.
func (*HashSecret) Decode ¶
func (s *HashSecret) Decode(val string) error
Decode implements envconfig.Decoder interface.
func (HashSecret) Encode ¶
func (s HashSecret) Encode(value string) []byte
Encode hashes a string value.
Click to show internal directories.
Click to hide internal directories.