Documentation ¶
Index ¶
- type Counter
- func (c *Counter) Clone() *Counter
- func (c *Counter) Estimate(item string) uint64
- func (c *Counter) Estimates() map[string]uint64
- func (c *Counter) Insert(item string, user string) bool
- func (c *Counter) Items() []string
- func (c *Counter) MarshalJSON() ([]byte, error)
- func (c *Counter) UnmarshalJSON(data []byte) error
- type Entry
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) MarshalJSON ¶
func (*Counter) UnmarshalJSON ¶
type Entry ¶
type Entry = *hyperloglog.Sketch
Click to show internal directories.
Click to hide internal directories.