Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middelware ¶
func Middelware(next http.Handler, authorizers ...Authorizer) http.Handler
Types ¶
type AuthorizeWrapper ¶
type AuthorizeWrapper struct {
// contains filtered or unexported fields
}
func NewAuthorizeWrapper ¶
func NewAuthorizeWrapper(authorizers ...Authorizer) *AuthorizeWrapper
Directories ¶
Path | Synopsis |
---|---|
Package elogin provides auth middle procedures for remote authentication including oauth2 and other protocols, and specific providers like google, facebook, etc.
|
Package elogin provides auth middle procedures for remote authentication including oauth2 and other protocols, and specific providers like google, facebook, etc. |
serverprovider/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.