Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.5.0
Config for the main application.
func LoadConfig ¶ added in v0.5.0
LoadConfig loads the config.
type Context ¶ added in v0.5.0
type Context struct {
echo.Context
}
Context represents the context of the current HTTP request.
func (*Context) BadRequest ¶ added in v0.5.0
BadRequest sends an error response with status code 400.
func (*Context) InternalServerError ¶ added in v0.5.0
InternalServerError sends an error response with status code 500.
func (*Context) SuccessWithEmpty ¶ added in v0.5.0
SuccessWithEmpty sends an empty JSON response with status code 200.
type HandlerFunc ¶ added in v0.5.0
HandlerFunc is a function to serve HTTP requests.
Click to show internal directories.
Click to hide internal directories.