fsqueue

package
v3.1.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data map[string]interface{}

type Queue

type Queue struct {
	Input chan Data
	// contains filtered or unexported fields
}

func New

func New(logger hclog.Logger, file string) (_ *Queue, forwardRequests chan Request, rerr error)

func (*Queue) Run

func (s *Queue) Run(ctx context.Context) error

type Request

type Request struct {
	Data Data
	Done chan (struct{})
}

Jump to

Keyboard shortcuts

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