Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequireUser ¶
type RequireUser struct {
User
}
RequireUser assumes that User middleware has already been run otherwise it will not work correctly.
func (*RequireUser) Apply ¶
func (mw *RequireUser) Apply(next http.Handler) http.HandlerFunc
Apply assumes that User middleware has already been run otherwise it will not work correctly.
func (*RequireUser) ApplyFn ¶
func (mw *RequireUser) ApplyFn(next http.HandlerFunc) http.HandlerFunc
ApplyFn assumes that User middleware has already been run otherwise it will not work correctly.
type User ¶
type User struct {
models.UserService
}
func (*User) ApplyFn ¶
func (mw *User) ApplyFn(next http.HandlerFunc) http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.