Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltStorage ¶
type BoltStorage struct {
// contains filtered or unexported fields
}
BoltStorage is a wrapper over Bolt DB
func (*BoltStorage) Get ¶
func (s *BoltStorage) Get(name string) (value string, err error)
Get returns a content of the pad
func (*BoltStorage) NextCounter ¶
func (s *BoltStorage) NextCounter() (next uint64, err error)
NextCounter returns next number of the counter
func (*BoltStorage) Path ¶
func (s *BoltStorage) Path() string
Path returns the path to currently open database file
Click to show internal directories.
Click to hide internal directories.