counter

package
v0.0.0-...-39cffea Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: Apache-2.0 Imports: 1 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 struct {
	// contains filtered or unexported fields
}

func New

func New(group uint16) *Counter

func (*Counter) Advance

func (counter *Counter) Advance() (int32, bool)

func (*Counter) Hit

func (counter *Counter) Hit()

func (*Counter) Miss

func (counter *Counter) Miss()

func (*Counter) Value

func (counter *Counter) Value() (int64, int64)

Jump to

Keyboard shortcuts

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