auth

package
v0.0.0-...-7609c90 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager ...

func NewManager

func NewManager(options *Options) *Manager

NewManager ...

func (*Manager) HasAuth

func (m *Manager) HasAuth(next httprouter.Handle) httprouter.Handle

func (*Manager) MustAuth

func (m *Manager) MustAuth(next httprouter.Handle) httprouter.Handle

MustAuth ...

func (*Manager) ShouldAuth

func (m *Manager) ShouldAuth(next httprouter.Handle) httprouter.Handle

ShouldAuth ...

type Options

type Options struct {
	// contains filtered or unexported fields
}

Options ...

func NewOptions

func NewOptions(login, register string) *Options

NewOptions ...

Jump to

Keyboard shortcuts

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