reservoir

package
v0.0.0-...-2081a44 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reservoir

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

func NewReservoir

func NewReservoir(qsize uint64) *Reservoir

func (*Reservoir) Add

func (r *Reservoir) Add(uid utils.MyULID, msg string)

func (*Reservoir) AddMessage

func (r *Reservoir) AddMessage(msg *model.FullMessage) error

func (*Reservoir) DeliverTo

func (r *Reservoir) DeliverTo(m map[utils.MyULID]string) error

func (*Reservoir) Dispose

func (r *Reservoir) Dispose()

Jump to

Keyboard shortcuts

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