auth

package module
v0.0.0-...-c879b08 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 4 Imported by: 0

README

《设计模式之美》go版本的接口鉴权组件

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIAuthenticator

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

func NewAPIAuthenticator

func NewAPIAuthenticator(credentialStore store.CredentialStore) *APIAuthenticator

func (*APIAuthenticator) Auth

func (aauth *APIAuthenticator) Auth(rawURL string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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