Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Config ¶
type Config struct { ContentServerURL string ServerAddr string Files http.FileSystem }
type HostHeaderTransport ¶
type HostHeaderTransport struct { http.RoundTripper Host string }
type Server ¶
func (*Server) ListenAndServe ¶
type TemplateRenderer ¶
type WebsocketUDPProxy ¶
type WebsocketUDPProxy struct { Upgrader *websocket.Upgrader // contains filtered or unexported fields }
func NewProxy ¶
func NewProxy(addr string) (*WebsocketUDPProxy, error)
func (*WebsocketUDPProxy) ServeHTTP ¶
func (w *WebsocketUDPProxy) ServeHTTP(rw http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.