Documentation ¶
Index ¶
- func DatabaseCleanup()
- func Init(listen, location, ttlString *string, errorChannel chan error) error
- func ReadOAuthToken(key string, dest interface{}) error
- func WriteOAuthToken(key string, token interface{}) error
- type Counter
- type FunctionType
- type Manager
- type Series
- func (s *Series) Aggregate(functionType FunctionType, aggregateInterval int, aggregateCount int, ...) (interface{}, error)
- func (s *Series) Compute(functionType FunctionType, start, end *time.Time) (float64, error)
- func (s *Series) Items(count int) (interface{}, error)
- func (s *Series) Last() (map[string]interface{}, error)
- func (s *Series) Pop() (map[string]interface{}, error)
- func (s *Series) Push(timestamp *time.Time, value float64) error
- func (s *Series) TrimCount(count int) error
- func (s *Series) TrimSince(since time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatabaseCleanup ¶
func DatabaseCleanup()
func ReadOAuthToken ¶
func WriteOAuthToken ¶
Types ¶
type FunctionType ¶
type FunctionType int
const ( None FunctionType = iota Sum Avg Min Max Count StdDev )
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.