basicauth

package
Version: v0.0.0-...-8df21d4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(auth Auth) quincy.Middleware

Authenticate performs the authentication using the passed in auth function

Types

type Auth

type Auth func(c context.Context, name, password string) (context.Context, bool)

Auth is the function type of the custom function that is required to perform the custom authentication

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL