Documentation ¶ Overview ¶ levelmap holds an implementation of the LevelMap that the client session uses to keep track of what messages it has seen. Index ¶ type LevelMap func NewLevelMap() LevelMap Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type LevelMap ¶ type LevelMap interface { // Set() (re)sets the given level to the given value. Set(level string, top int64) // GetAll() returns a "simple" map of the current levels. GetAll() map[string]int64 } func NewLevelMap ¶ func NewLevelMap() LevelMap default constructor Source Files ¶ View all Source files levelmap.go Click to show internal directories. Click to hide internal directories.