Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthType ctxKeyType = "AUTH_TYPE" Username ctxKeyType = "USERNAME" AuthTypeWebSession AuthTypeValue = "WEB_SESSION" AuthTypeBearer AuthTypeValue = "BEARER" )
Variables ¶
This section is empty.
Functions ¶
func GetMiddleware ¶
func GetMiddleware(sessionManager session.Manager, apiKeyChecker KChecker) []mux.MiddlewareFunc
Types ¶
type AuthTypeValue ¶
type AuthTypeValue string
type KChecker ¶
func NewConstKChecker ¶
Click to show internal directories.
Click to hide internal directories.