stdout

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Info = Teal
	Warn = Yellow
	Fata = Red
)
View Source
var (
	Black   = Colorize("\033[1;30m%s\033[0m")
	Red     = Colorize("\033[1;31m%s\033[0m")
	Green   = Colorize("\033[1;32m%s\033[0m")
	Yellow  = Colorize("\033[1;33m%s\033[0m")
	Purple  = Colorize("\033[1;34m%s\033[0m")
	Magenta = Colorize("\033[1;35m%s\033[0m")
	Teal    = Colorize("\033[1;36m%s\033[0m")
	White   = Colorize("\033[1;37m%s\033[0m")
)

Functions

func Colorize

func Colorize(colorString string) func(...interface{}) string

Types

type Sink

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

func (*Sink) Dequeue

func (s *Sink) Dequeue(ctx context.Context, envelopes []envelope.Envelope) error

func (*Sink) Enqueue

func (s *Sink) Enqueue(envelopes []envelope.Envelope) error

func (*Sink) Initialize

func (s *Sink) Initialize(conf config.Sink) error

func (*Sink) Metadata

func (s *Sink) Metadata() backendutils.SinkMetadata

func (*Sink) Shutdown

func (s *Sink) Shutdown() error

func (*Sink) StartWorker

func (s *Sink) StartWorker() error

Jump to

Keyboard shortcuts

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