Documentation ¶ Index ¶ type Bridge func New(cfg config.Config) *Bridge func (b *Bridge) Run(ctx context.Context) error type Event type Loki func NewLoki(cfg config.Config) *Loki func (l *Loki) SendBatch(ctx context.Context, batch []Event) error 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 Source Files ¶ View all Source files bridge.goloki.goreceiver.go Click to show internal directories. Click to hide internal directories.