bridge

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

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

func New

func New(cfg config.Config) *Bridge

func (*Bridge) Run

func (b *Bridge) Run(ctx context.Context) error

type Event

type Event struct {
	Timestamp time.Time
	DeviceID  string
	RawLine   string
}

type Loki

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

func NewLoki

func NewLoki(cfg config.Config) *Loki

func (*Loki) SendBatch

func (l *Loki) SendBatch(ctx context.Context, batch []Event) error

Jump to

Keyboard shortcuts

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