countserv

package module
v0.0.0-...-9a72f5d Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 5 Imported by: 0

README

countserv

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 NewCounter

func NewCounter() *Counter

func (*Counter) Clone

func (c *Counter) Clone() *Counter

func (*Counter) Estimate

func (c *Counter) Estimate(item string) uint64

func (*Counter) Estimates

func (c *Counter) Estimates() map[string]uint64

func (*Counter) Insert

func (c *Counter) Insert(item string, user string) bool

func (*Counter) Items

func (c *Counter) Items() []string

func (*Counter) MarshalJSON

func (c *Counter) MarshalJSON() ([]byte, error)

func (*Counter) UnmarshalJSON

func (c *Counter) UnmarshalJSON(data []byte) error

type Entry

type Entry = *hyperloglog.Sketch

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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