Versions in this module Expand all Collapse all v0 v0.1.0 Apr 20, 2015 Changes in this version type DB + func (db *DB) Close() error + func (db *DB) NewIterator(source, metric string) (*Iterator, error) + type Iterator struct + func (i *Iterator) Close() + func (i *Iterator) Next() error + func (i *Iterator) Reset() error + func (i *Iterator) Seek(timestamp int64) error v0.0.0 Mar 9, 2015 Changes in this version + var ErrmetriclistValueExists = errors.New("catena (metriclist): value exists") + var ErrmetriclistValueNotFound = errors.New("catena (metriclist): value does not exist") + var ErrpointListValueExists = errors.New("catena (pointList): value exists") + var ErrpointListValueNotFound = errors.New("catena (pointList): value does not exist") + var ErrsourcelistValueExists = errors.New("catena (sourcelist): value exists") + var ErrsourcelistValueNotFound = errors.New("catena (sourcelist): value does not exist") + func Newmetriclist() *metriclist + func NewpointList() *pointList + func Newsourcelist() *sourcelist + type DB struct + func NewDB(baseDir string) (*DB, error) + func OpenDB(baseDir string) (*DB, error) + func (db *DB) InsertRows(rows Rows) error + func (db *DB) Metrics(source string, start, end int64) []string + func (db *DB) Query(descs []QueryDesc) QueryResponse + func (db *DB) Sources(start, end int64) []string + type Point struct + Timestamp int64 + Value float64 + type QueryDesc struct + End int64 + Metric string + Source string + Start int64 + type QueryResponse struct + Series []Series + type Row struct + Metric string + Source string + Timestamp int64 + Value float64 + type Rows []Row + type Series struct + End int64 + Metric string + Points []Point + Source string + Start int64