remote

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSetter

func NewSetter(sink luigi.Sink) librarian.Setter

func NewSink

func NewSink(idx librarian.SetterIndex) luigi.Sink

Types

type IndexerFunc

type IndexerFunc func(context.Context, luigi.Source, librarian.Index) error

IndexerFunc is a function that processes the values read from the source and updates an Index.

type Message

type Message struct {
	Type  MsgType
	Addr  librarian.Addr
	Value interface{}
}

Message is a data type that is passed through a source to set or delelte values.

type MsgType

type MsgType string

MsgType is either "set" or "delete"

Jump to

Keyboard shortcuts

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