auth

package
v1.2.14 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claims

type Claims struct {
	Email      string `json:"email"`
	CommonName string `json:"common_name"`
}

type Config

type Config struct {
	Domain    string
	LogAccess bool
}

type RouteHandler

type RouteHandler = func(w http.ResponseWriter, req *http.Request, aud string)

func Route

func Route(conf *Config) RouteHandler

Jump to

Keyboard shortcuts

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