Documentation
¶
Index ¶
- type Config
- type Element
- type Tskv
- func (t *Tskv) GetInt() []int
- func (t *Tskv) GetMap() map[time.Time]Element
- func (t *Tskv) GetRaw() []Element
- func (t *Tskv) GetSince(when time.Time) *Tskv
- func (t *Tskv) Inc(when time.Time, value interface{}) error
- func (t *Tskv) IncNow(value interface{}) error
- func (t *Tskv) Last() *Element
- func (t *Tskv) MarshalJSON() ([]byte, error)
- func (t *Tskv) Oldest() *Element
- func (t *Tskv) Set(when time.Time, value interface{}) error
- func (t *Tskv) SetNow(value interface{}) error
- func (t *Tskv) Subscribe() chan *Tskv
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
Element Smallest Atom
type Tskv ¶
type Tskv struct {
// contains filtered or unexported fields
}
Tskv our main structure
func (*Tskv) MarshalJSON ¶
MarshalJSON provides an interface for json.Marshal
Click to show internal directories.
Click to hide internal directories.