inputs

package
v0.0.0-...-8c118da Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForwardHandler

type ForwardHandler func([]byte) error

type ForwardInput

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

func NewForwardInput

func NewForwardInput(ListenOn string, handler ForwardHandler) (*ForwardInput, error)

func (*ForwardInput) Name

func (input *ForwardInput) Name() string

func (*ForwardInput) Run

func (input *ForwardInput) Run(ctx context.Context)

type Input

type Input interface {
	Run(ctx context.Context)
	Name() string
}

Input receives log entries and stores to WAL.

Jump to

Keyboard shortcuts

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