Documentation
¶
Overview ¶
Package authlog preserves the original structured-log adapter import path. New code should import github.com/faustbrian/go-authentication/adapters/slog.
Deprecated: use github.com/faustbrian/go-authentication/adapters/slog.
Index ¶
- type Instrumenterdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instrumenter
deprecated
type Instrumenter = authenticationslog.Instrumenter
Instrumenter emits one bounded structured log record per attempt.
Deprecated: use authenticationslog.Instrumenter.
func New
deprecated
func New(logger *slog.Logger) (*Instrumenter, error)
New creates a structured authentication log instrumenter.
Deprecated: use authenticationslog.New.
Click to show internal directories.
Click to hide internal directories.