loki

package
v0.13.7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch struct {
	Streams []Stream `json:"streams"`
}

func NewBatch

func NewBatch() *Batch

func (*Batch) AddStream

func (b *Batch) AddStream(s *Stream)

type Stream

type Stream struct {
	Labels  map[string]string `json:"stream"`
	Entries [][]string        `json:"values"`
}

func NewStream

func NewStream() *Stream

func (*Stream) AddEntry

func (s *Stream) AddEntry(t time.Time, entry string)

func (*Stream) AddLabel

func (s *Stream) AddLabel(key string, value string)

Jump to

Keyboard shortcuts

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