Versions in this module Expand all Collapse all v0 v0.0.27 Mar 10, 2021 Changes in this version + func InitializeGlobalState(resolution time.Duration, multiplier int) + type Addon struct + Depth int + T time.Time + type Segment struct + func Deserialize(resolution time.Duration, multiplier int, r io.Reader) (*Segment, error) + func FromBytes(resolution time.Duration, multiplier int, p []byte) *Segment + func New(resolution time.Duration, multiplier int) *Segment + func (s *Segment) Get(st, et time.Time, cb func(depth int, t time.Time, r *big.Rat)) + func (s *Segment) Put(st, et time.Time, samples uint64, ...) + func (s *Segment) SampleRate() int + func (s *Segment) Serialize(w io.Writer) error + func (s *Segment) SetMetadata(spyName string, sampleRate int) + func (s *Segment) SpyName() string + func (s *Segment) Visualize() + func (t *Segment) Bytes() []byte + type Timeline struct + DurationDelta int64 + Samples []uint64 + StartTime int64 + func GenerateTimeline(st, et time.Time) *Timeline + func (tl *Timeline) PopulateTimeline(st, et time.Time, s *Segment) + type TmpltVars struct + Data string