package
Version:
v0.4.11
Opens a new window with list of versions in this module.
Published: Mar 24, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func New(maxSize int, reduce int) *localCache
New creates a new localCache
Enum for Event
const (
EventPing Event = iota
EventGrace
EventFailed
EventSend
)
Event Enum
String returns the string representation of the Event
type History struct {
Time time.Time `mapstructure:"time"`
Event Event `mapstructure:"event"`
Message string `mapstructure:"message"`
Details map[string]string `mapstructure:"details"`
}
History is the struct for the history of a heartbeat
Source Files
¶
Click to show internal directories.
Click to hide internal directories.