Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMiddleware ¶
type AuthMiddleware interface {
GenerateToken(w http.ResponseWriter, req *http.Request)
RefreshToken(w http.ResponseWriter, req *http.Request)
}
type JsonWebTokenMiddleware ¶
type JsonWebTokenMiddleware interface {
Validate(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
CreateSession(w http.ResponseWriter, r *http.Request) (service.Session, error)
}
Click to show internal directories.
Click to hide internal directories.