Documentation ¶
Overview ¶
Package prefix implements a hugot Storer that wraps another store and ddds an additional prefix to all keys.
This can be used to force handles to write data under another key.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store wraps a Storer, and transparenttly appends and removes a suffix
func New ¶
New creates a store than preprends your provided suffix to store keys (with a # separator)
Click to show internal directories.
Click to hide internal directories.