counter

package
v0.38.11 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 3 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 NewExpiringCounter

func NewExpiringCounter(ctx context.Context) *Counter

func (*Counter) Del

func (c *Counter) Del(uuid string)

func (*Counter) Inc

func (c *Counter) Inc(uuid string) int

Jump to

Keyboard shortcuts

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