Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ErrBktExists is returned when attempting to Put to key that defines a // bucket. ErrBktExists = lerr.Str("Bucket already exists at that key") // ErrValExists is returned when attempting to create a Store with a key // that defines a value. ErrValExists = lerr.Str("Value already exists at that key") )
Variables ¶
This section is empty.
Functions ¶
func DecoderCast ¶
func DecoderRemoveExt ¶
func EncoderCast ¶
func NewFactory ¶
NewFactory creates a factory with the given encoders and decoders. If bktEncoder is nil, encoder will be used. If encoder is nil, EncoderCast is used. If bktDecoder is nil, decoder is used. If decoder is nil, DecoderCast is used.
Types ¶
type Encoder ¶
Encoder is used to convert []byte to string for directory and file paths.
func EncoderExt ¶
func EncoderMany ¶
func EncoderReplacer ¶
Click to show internal directories.
Click to hide internal directories.