Documentation ¶
Index ¶
- func APIErrorHandler(next clevergo.Handle) clevergo.Handle
- func GoGet(db *sqlx.DB) clevergo.MiddlewareFunc
- func Host(host string, skipper clevergo.Skipper) clevergo.MiddlewareFunc
- func IsAuthenticated(loginURL string, skipper clevergo.Skipper) clevergo.MiddlewareFunc
- func NewCompositeSkipper(skippers ...clevergo.Skipper) clevergo.Skipper
- type CompositeSkipper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAuthenticated ¶
func IsAuthenticated(loginURL string, skipper clevergo.Skipper) clevergo.MiddlewareFunc
IsAuthenticated redirects to the given URL if user isn't login.
Types ¶
type CompositeSkipper ¶
type CompositeSkipper struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.