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