Documentation ¶
Index ¶
- type Client
- func (c *Client) Close()
- func (c *Client) Delete(key string) error
- func (c *Client) DeleteBefore(key string) (err error)
- func (c *Client) Get(key string) (result string)
- func (c *Client) GetList(count int, direction string) (results []string)
- func (c *Client) GetTimeSeriesList(startTime, endTime interface{}) (results []string)
- func (c *Client) Open(bucket string)
- func (c *Client) Put(key string, value interface{}) error
- func (c *Client) SetBucket(bucket string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client hold information about current database operations
func GetDatabaseClient ¶
func GetDatabaseClient() *Client
GetDatabaseClient returns a open bolt connection and client instance
func (*Client) DeleteBefore ¶
DeleteBefore delete all keys before a specified key in an ordered list
func (*Client) GetTimeSeriesList ¶
GetTimeSeriesList returns the cursor for iterating over all values of a bucket
Click to show internal directories.
Click to hide internal directories.