types

package
v0.0.0-...-391a7ad Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT 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
}

Counter -

func NewCounter

func NewCounter(start int64) *Counter

NewCounter -

func (*Counter) Increment

func (c *Counter) Increment() int64

Increment -

func (*Counter) Set

func (c *Counter) Set(val int64)

Set -

type Queue

type Queue struct {
	// contains filtered or unexported fields
}

Queue -

func NewQueue

func NewQueue() *Queue

NewQueue -

func (*Queue) Add

func (q *Queue) Add(id uint64)

Add -

func (*Queue) Contains

func (q *Queue) Contains(id uint64) bool

Contains -

func (*Queue) Delete

func (q *Queue) Delete(id uint64)

Delete -

Jump to

Keyboard shortcuts

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