Disable default message on start #2042
leandroluk
started this conversation in
General
Replies: 3 comments 1 reply
-
This can be done by Example: func main() {
e := echo.New()
e.HideBanner = true
e.HidePort = true
e.GET("/test", func(c echo.Context) error {
return c.String(http.StatusOK, "OK")
})
log.Fatal(e.Start(":8080"))
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
I can't find this configuration in the documentation. Would you like to add it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Very useful |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building an application using Echo as the http server and I would like to know if I can modify (or remove) the message that is printed when the application starts:
Beta Was this translation helpful? Give feedback.
All reactions