loki

package
v0.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Url      string
	Batch    *config.Batch
	Labels   gox.Labels
	Username string
	Password string
	Http     *http.Client
}

type Pusher

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

func New

func New(ctx context.Context, config *Config) (pusher *Pusher)

func (*Pusher) Build

func (p *Pusher) Build(config zap.Config, opts ...zap.Option) (logger *zap.Logger, err error)

func (*Pusher) Push

func (p *Pusher) Push(log *internal.Log)

func (*Pusher) Stop

func (p *Pusher) Stop()

Directories

Path Synopsis
internal
api
key

Jump to

Keyboard shortcuts

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