Versions in this module Expand all Collapse all v0 v0.1.0 Jun 26, 2022 Changes in this version + func EncoderMiddleware(handler fchi.Handler) fchi.Handler + func ValidatorMiddleware(factory rest.ResponseValidatorFactory) func(fchi.Handler) fchi.Handler + type Encoder struct + JSONWriter func(v interface{}) + func (h *Encoder) MakeOutput(rc *fasthttp.RequestCtx, ht rest.HandlerTrait) interface{} + func (h *Encoder) SetupOutput(output interface{}, ht *rest.HandlerTrait) + func (h *Encoder) WriteErrResponse(rc *fasthttp.RequestCtx, statusCode int, response interface{}) + func (h *Encoder) WriteSuccessfulResponse(rc *fasthttp.RequestCtx, output interface{}, ht rest.HandlerTrait)