Documentation ¶
Index ¶
- func NewDerivedErrorRenderer(err error, statusCode int) render.Renderer
- func NewDerivedErrorRendererWithData(err error, statusCode int, data Data) render.Renderer
- func NewHealthRouter(service health.Service) chi.Router
- func NewSnippetRouter(service snippet.Service) chi.Router
- func NewTextErrorRenderer(errText string, statusCode int) render.Renderer
- func NewTextErrorRendererWithData(errText string, statusCode int, data Data) render.Renderer
- type Data
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDerivedErrorRenderer ¶
func NewHealthRouter ¶
func NewSnippetRouter ¶
func NewTextErrorRenderer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.