gocounter

package module
v0.0.0-...-6351330 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2015 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	StartTime string
	// contains filtered or unexported fields
}

func NewCounter

func NewCounter() *Counter

func (*Counter) Get

func (self *Counter) Get(key string) int64

func (*Counter) Incr

func (self *Counter) Incr(key string, val int64)

func (*Counter) Reset

func (self *Counter) Reset()

func (*Counter) Set

func (self *Counter) Set(key string, val int64)

func (*Counter) Stat

func (self *Counter) Stat() map[string]int64

Jump to

Keyboard shortcuts

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