Versions in this module Expand all Collapse all v0 v0.2.0 Oct 3, 2026 v0.1.0 Oct 1, 2026 Changes in this version + type Darwin struct + func NewDarwinProvider() *Darwin + func (d *Darwin) ListSources(_ context.Context) ([]string, error) + func (d *Darwin) Query(_ context.Context, _ QueryOpts) ([]Entry, error) + func (d *Darwin) QueryUnit(_ context.Context, _ string, _ QueryOpts) ([]Entry, error) + type Debian struct + func NewDebianProvider(logger *slog.Logger, execManager exec.Manager) *Debian + func (d *Debian) ListSources(ctx context.Context) ([]string, error) + func (d *Debian) Query(ctx context.Context, opts QueryOpts) ([]Entry, error) + func (d *Debian) QueryUnit(ctx context.Context, unit string, opts QueryOpts) ([]Entry, error) + type Entry struct + Hostname string + Message string + PID int + Priority string + Timestamp string + Unit string + type Linux struct + func NewLinuxProvider() *Linux + func (l *Linux) ListSources(_ context.Context) ([]string, error) + func (l *Linux) Query(_ context.Context, _ QueryOpts) ([]Entry, error) + func (l *Linux) QueryUnit(_ context.Context, _ string, _ QueryOpts) ([]Entry, error) + type Provider interface + ListSources func(ctx context.Context) ([]string, error) + Query func(ctx context.Context, opts QueryOpts) ([]Entry, error) + QueryUnit func(ctx context.Context, unit string, opts QueryOpts) ([]Entry, error) + type QueryOpts struct + Lines int + Priority string + Since string