Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Require ¶ added in v1.20.0
func Require(handlerFunc rest.HandlerFunc) rest.HandlerFunc
func RequireServer ¶ added in v1.20.0
func RequireServer(handlerFunc rest.HandlerFunc) rest.HandlerFunc
func RequireUser ¶ added in v1.20.0
func RequireUser(handlerFunc rest.HandlerFunc) rest.HandlerFunc
Types ¶
type API ¶ added in v1.20.0
func (*API) DEPRECATEDAPI ¶ added in v1.20.0
func (*API) InitializeMiddleware ¶ added in v1.20.0
func (*API) InitializeRouters ¶ added in v1.29.0
type StatusProvider ¶ added in v1.27.0
type StatusProvider interface {
Status() interface{}
}
type StatusRouter ¶ added in v1.27.0
type StatusRouter struct {
StatusProvider
}
func NewStatusRouter ¶ added in v1.27.0
func NewStatusRouter(statusProvider StatusProvider) (*StatusRouter, error)
func (*StatusRouter) Routes ¶ added in v1.27.0
func (s *StatusRouter) Routes() []*rest.Route
func (*StatusRouter) StatusGet ¶ added in v1.27.0
func (s *StatusRouter) StatusGet(res rest.ResponseWriter, req *rest.Request)
Click to show internal directories.
Click to hide internal directories.