pusher

package
v0.0.0-...-1e40bc2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	File = "file"
	Otlp = "otlp"
	Http = "http"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Pusher

type Pusher interface {
	GetChannel() chan []byte
	Start(ctx context.Context, cancelFunc context.CancelFunc) error
	Stop(ctx context.Context)
}

func New

func New(logger *zap.Logger, c config.Config) (Pusher, error)

Jump to

Keyboard shortcuts

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