Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeOctetStream = "application/octet-stream" TypeForm = "application/x-www-form-urlencoded" TypeJson = "application/json" TypeXml = "application/xml" TypeJpg = "image/jpeg" TypePng = "image/png" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EchoEngine ¶
type EchoEngine struct { Echo *echo.Echo // contains filtered or unexported fields }
func InitEcho ¶
func InitEcho(c *Config) *EchoEngine
func (*EchoEngine) Logger ¶
func (e *EchoEngine) Logger() echo.MiddlewareFunc
Logger echo middleware logger
func (*EchoEngine) Recover ¶
func (e *EchoEngine) Recover() echo.MiddlewareFunc
Recover echo middleware recover
func (*EchoEngine) Start ¶
func (e *EchoEngine) Start(banner ...string)
type GinEngine ¶
func (*GinEngine) Recovery ¶
func (g *GinEngine) Recovery() gin.HandlerFunc
Recovery gin middleware recovery
Click to show internal directories.
Click to hide internal directories.