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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
countserv command
membench command

Jump to

Keyboard shortcuts

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