Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ContextKeyUser = contextKey("user")
)
Functions ¶
Types ¶
type SignInHandler ¶
type SignInHandler struct {
// contains filtered or unexported fields
}
func NewSignInHandler ¶
func (SignInHandler) Middleware ¶
func (s SignInHandler) Middleware(blocking bool) mux.MiddlewareFunc
func (SignInHandler) ServeHTTP ¶
func (s SignInHandler) ServeHTTP(res http.ResponseWriter, req *http.Request)
func (SignInHandler) SignOut ¶ added in v0.1.1
func (s SignInHandler) SignOut(res http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.