Documentation
¶
Index ¶
- func BindURLs()
- func EmbedStaticFiles()
- func GetWebServer() *echo.Echo
- func InitEcho()
- func RestartWebServer()
- func SetEchoLogger(e *echo.Echo)
- func SetHttpPort()
- func SetMiddleware()
- func StartEcho(e *echo.Echo)
- func StartTailscale()
- func StartWebServer()
- 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 停止当前的服务器并重新启动(比如切换端口的时候)
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.