Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(ctx *miruken.Context) *Controller
func (*Controller) ServeHTTP ¶
func (c *Controller) ServeHTTP( w http.ResponseWriter, r *http.Request, )
type StatusCodeMapper ¶
type StatusCodeMapper struct{}
func (*StatusCodeMapper) JsonSyntax ¶ added in v0.21.0
func (s *StatusCodeMapper) JsonSyntax( _ *struct { miruken.Maps miruken.Format `to:"http:status-code"` }, _ *json.SyntaxError, ) int
func (*StatusCodeMapper) NotHandled ¶ added in v0.21.0
func (s *StatusCodeMapper) NotHandled( _ *struct { miruken.Maps miruken.Format `to:"http:status-code"` }, nhe *miruken.NotHandledError, ) int
func (*StatusCodeMapper) UnknownTypeId ¶ added in v0.21.0
func (s *StatusCodeMapper) UnknownTypeId( _ *struct { miruken.Maps miruken.Format `to:"http:status-code"` }, _ *api.UnknownTypeIdError, ) int
func (*StatusCodeMapper) Validation ¶ added in v0.21.0
Click to show internal directories.
Click to hide internal directories.