Documentation ¶
Index ¶
- Variables
- type Bolt
- func (bolt *Bolt) Close() error
- func (bolt *Bolt) Delete(key string) error
- func (bolt *Bolt) Get(key string, result interface{}, bucket string) error
- func (bolt *Bolt) GetAll(bucket string) ([][]byte, error)
- func (bolt *Bolt) GetAllByName(id string, bucket string) ([][]byte, error)
- func (bolt *Bolt) GetLastByName(id string, bucket string) ([]byte, error)
- func (bolt *Bolt) GetMachine(key string) (interface{}, error)
- func (bolt *Bolt) GetSystem(key string) (interface{}, error)
- func (bolt *Bolt) Set(key string, value interface{}, bucket string) error
- func (bolt *Bolt) SetBucket(name string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = bbolt.Options{ Timeout: 1 * time.Second, }
Functions ¶
This section is empty.
Types ¶
type Bolt ¶
type Bolt struct {
// contains filtered or unexported fields
}
func (*Bolt) GetAllByName ¶
func (*Bolt) GetLastByName ¶
func (*Bolt) GetMachine ¶
Click to show internal directories.
Click to hide internal directories.