sender

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendSender

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

BackendSender holds configuration for backend communication.

func NewBackendSender

func NewBackendSender(endpointPath, tokenPath string) *BackendSender

NewBackendSender creates a new BackendSender with the given endpoint and token paths.

func (*BackendSender) Send

func (s *BackendSender) Send(cfg config.Config, data *model.Root) error

Send sends the provided model.Root as a log entry to the backend using configured paths.

Jump to

Keyboard shortcuts

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