batch

package
v0.0.0-...-82e36bc Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batches

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

func New

func New(logger zerolog.Logger, cache *cache.Cache, client fetcher.Client) *Batches

func (*Batches) Add

func (b *Batches) Add(ip string, lang string, fields field.Fields) (*structs.CacheEntry, chan struct{})

func (*Batches) Process

func (b *Batches) Process()

func (*Batches) ProcessLoop

func (b *Batches) ProcessLoop()

Jump to

Keyboard shortcuts

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