processor

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProcessor

func NewProcessor(cfg *api.ProcessorConfig) api.Processor

Init Processor and dependency plugins

Types

type Processor

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

Processor is the processing module in Satellite.

func (*Processor) Boot

func (p *Processor) Boot(ctx context.Context)

Boot fetches the data of Queue, does a series of processing, and then sends to Sender.

func (*Processor) Prepare

func (p *Processor) Prepare() error

func (*Processor) SetGatherer added in v0.2.0

func (p *Processor) SetGatherer(m api.Module) error

func (*Processor) SetSender added in v0.2.0

func (p *Processor) SetSender(m api.Module) error

func (*Processor) Shutdown

func (p *Processor) Shutdown()

func (*Processor) SyncInvoke added in v0.2.0

func (p *Processor) SyncInvoke(d *v1.SniffData) (*v1.SniffData, grpc.ClientStream, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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