db

package
v0.0.0-...-9f18f41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btof

func Btof(b []byte) (float64, error)

func BucketPayload

func BucketPayload(conn *bolt.DB, bucketName string) ([]byte, error)

func Ftob

func Ftob(f float64) ([]byte, error)

func Init

func Init(conn *bolt.DB) error

func LatestFromBucket

func LatestFromBucket(tx *bolt.Tx, bucketName string) ([]byte, []byte)

func LatestPayload

func LatestPayload(conn *bolt.DB) ([]byte, error)

func Open

func Open(path string) (*bolt.DB, error)

func Store

func Store(conn *bolt.DB, result *metrics.DataPoint, now string, wg *sync.WaitGroup)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL