Help us shape the future of Go! Take the 2026 Go Developer Survey

authlog

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package authlog preserves the original structured-log adapter import path. New code should import github.com/faustbrian/go-authentication/v2/adapters/slog. Instrumenter is a type-identical alias and New forwards; logger/handler ownership, synchronous callbacks and privacy projection are canonical behavior.

Deprecated: use github.com/faustbrian/go-authentication/v2/adapters/slog.

Index

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.

Jump to

Keyboard shortcuts

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