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

registry

package
v2.52.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewFuncs = map[string]NewFunc{}

NewFuncs is a map containing all the registered auth managers.

Functions

func Register

func Register(name string, f NewFunc)

Register registers a new auth manager new function. Not safe for concurrent use. Safe for use from package init.

Types

type NewFunc

type NewFunc func(map[string]any, *zerolog.Logger) (auth.Manager, error)

NewFunc is the function that auth implementations should register to at init time.

Jump to

Keyboard shortcuts

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