Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BASE32ENCODER = Base32Encoder("base32-encoder") PLAINENCODER = PlainEncoder("plain-encoder") )
Functions ¶
This section is empty.
Types ¶
type Base32Encoder ¶
type Base32Encoder string
func (Base32Encoder) Encode ¶
func (_ Base32Encoder) Encode(key string) string
type KVStore ¶
type KVStore struct {
// contains filtered or unexported fields
}
func NewKVStore ¶
func NewKVStore(dir string, enc KeyEncoder, debug log.Logger) *KVStore
type KeyEncoder ¶
type PlainEncoder ¶
type PlainEncoder string
func (PlainEncoder) Encode ¶
func (_ PlainEncoder) Encode(key string) string
Click to show internal directories.
Click to hide internal directories.