levelmap

package
v0.0.0-...-b2761b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2014 License: GPL-3.0, GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

levelmap holds an implementation of the LevelMap that the client session uses to keep track of what messages it has seen.

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL