pushers

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StartStep = "START"
	EndStep   = "END"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor added in v0.0.2

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

func NewProcessor added in v0.0.2

func NewProcessor(conf *cfg.Config, outC chan []byte, inC chan []*lambda.LambdaEvent, runtimeDoneC chan struct{}) *Processor

NewProcessor initializes the log processor.

func (*Processor) Invoke added in v0.0.2

func (p *Processor) Invoke(e *lambda.InvokeEvent)

func (*Processor) Start added in v0.0.2

func (p *Processor) Start()

func (*Processor) Stop added in v0.0.2

func (p *Processor) Stop()

type Pusher

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

func NewPusher

func NewPusher(conf *cfg.Config, inC chan []byte, runtimeDoneC chan struct{}) *Pusher

NewPusher initializes Pusher

func (*Pusher) Invoke added in v0.0.2

func (p *Pusher) Invoke(ctx context.Context, doneC chan struct{})

func (*Pusher) Start

func (p *Pusher) Start()

func (*Pusher) Stop

func (p *Pusher) Stop(timeout time.Duration)

Jump to

Keyboard shortcuts

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