Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPError ¶
type HTTPError struct {
Code int `json:"code" example:"400"`
Message string `json:"message" example:"status bad request"`
}
HTTPError struct for formating all erors
type HTTPSuccess ¶
type HTTPSuccess struct {
Code int `json:"code" example:"200"`
Message string `json:"message" example:"I'm a description"`
}
HTTPSuccess struct for simple response
type TemplateRenderer ¶
type TemplateRenderer struct {
// contains filtered or unexported fields
}
TemplateRenderer is a custom html/template renderer for Echo framework
Click to show internal directories.
Click to hide internal directories.