Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoryStore ¶
type HistoryStore struct {
// contains filtered or unexported fields
}
HistoryStore is a thread-safe collection of per-interface ring buffers.
func NewHistoryStore ¶
func NewHistoryStore(capacity int) *HistoryStore
func (*HistoryStore) Record ¶
func (hs *HistoryStore) Record(stats []types.CakeStats, interval time.Duration)
func (*HistoryStore) Snapshot ¶
func (hs *HistoryStore) Snapshot() types.HistoryResponse
Click to show internal directories.
Click to hide internal directories.