connectionlog

package
v2.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnectionLogger

func NewConnectionLogger(backends ...Backend) agpl.ConnectionLogger

Types

type Backend

type Backend interface {
	Upsert(ctx context.Context, clog database.UpsertConnectionLogParams) error
}

func NewDBBackend

func NewDBBackend(db database.Store) Backend

func NewSlogBackend

func NewSlogBackend(logger slog.Logger) Backend

Jump to

Keyboard shortcuts

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