log_collector

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogCollector

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

func NewLogCollector

func NewLogCollector(config LogCollectorConfig) *LogCollector

func (*LogCollector) Send

func (s *LogCollector) Send(log *log_models.Log)

func (*LogCollector) Start

func (s *LogCollector) Start()

func (*LogCollector) Stop

func (s *LogCollector) Stop()

type LogCollectorConfig

type LogCollectorConfig struct {
	Sock         string
	ChanSize     int
	WorkerNumber int
	Logger       logger.Logger
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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