counter

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2015 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter map[string]int

func New

func New() Counter

func (Counter) Add

func (c Counter) Add(key string) int

func (Counter) Clear

func (c Counter) Clear(key string) int

func (Counter) Count

func (c Counter) Count(key string) int

func (Counter) Keys

func (c Counter) Keys() []string

func (Counter) Remove

func (c Counter) Remove(key string) int

Jump to

Keyboard shortcuts

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