Documentation
¶
Index ¶
- func BindURLs()
- func EmbedStaticFiles()
- func GetWebServer() *echo.Echo
- func InitEcho()
- func RestartWebServer()
- func SetAutoTLS(e *echo.Echo)
- func SetEchoLogger(e *echo.Echo)
- func SetHTTPErrorHandler(e *echo.Echo)
- func SetHttpPort()
- func SetMiddleware()
- func StartEcho(e *echo.Echo) error
- func StartTailscale()
- func StartWebServer() error
- func StopTailscale()
- func StopWebServer() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWebServer ¶ added in v1.0.0
GetWebServer 获取echo.Echo (实现了 http.Handler 接口)
func RestartWebServer ¶ added in v1.0.0
func RestartWebServer()
RestartWebServer 停止当前的服务器并重新启动(比如切换端口的时候)
func SetAutoTLS ¶ added in v1.1.5
Auto TLS 设置,参考资料: https://echo.labstack.com/docs/cookbook/auto-tls
func SetHTTPErrorHandler ¶ added in v1.2.20
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.