basicauth

package
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

Jump to

Keyboard shortcuts

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