auth

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auther

type Auther interface {
	Weight() int64
	Match(r *http.Request, opts Options) (bool, interface{})
	Check(r *http.Request, data interface{}, opts Options) (bool, *http.Request, error)
}

Auther .

type AutherLister

type AutherLister interface {
	Authers() []Auther
}

AutherLister .

type Interface

type Interface interface {
	Interceptor(h http.HandlerFunc, opts func(r *http.Request) Options) http.HandlerFunc
}

Interface .

type Options

type Options interface {
	Get(key string) interface{}
	Set(key string, val interface{})
}

Options .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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