cache

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fifo

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

func NewFifoCache

func NewFifoCache(cacheSize int) Fifo

func (*Fifo) Add

func (c *Fifo) Add(eventID string)

func (*Fifo) Has

func (c *Fifo) Has(eventID string) bool

Jump to

Keyboard shortcuts

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