Versions in this module Expand all Collapse all v1 v1.0.7 Nov 23, 2020 v1.0.6 Nov 22, 2020 Changes in this version + var DefaultUpgrader = &websocket.Upgrader + func NewRouter(cfg *Config) (*echo.Echo, error) + type Config struct + ContentServerURL string + Files http.FileSystem + ServerAddr string + type HostHeaderTransport struct + Host string + func (t *HostHeaderTransport) RoundTrip(req *http.Request) (*http.Response, error) + type Server struct + Addr string + Handler http.Handler + ServerAddr string + func (s *Server) ListenAndServe() error + func (s *Server) Serve(l net.Listener) error + type TemplateRenderer struct + func (t *TemplateRenderer) Render(w io.Writer, name string, data interface{}, c echo.Context) error + type WebsocketUDPProxy struct + Upgrader *websocket.Upgrader + func NewProxy(addr string) (*WebsocketUDPProxy, error) + func (w *WebsocketUDPProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request)