Versions in this module Expand all Collapse all v1 v1.3.0 Oct 1, 2020 Changes in this version + func Run(bind string, port int, env *Environment) + type AddMessage struct + Host Host + HostId string + Type string + type Container struct + Created time.Time + ID string + Image string + Mounts []docker.Mount + type Environment struct + Storage *dnsStorage.DnsStorage + type Error interface + Status func() int + func HandleApiNotFound(env *Environment, w http.ResponseWriter, r *http.Request) Error + func HandleGetHosts(env *Environment, w http.ResponseWriter, r *http.Request) Error + func HandleWsHosts(env *Environment, w http.ResponseWriter, r *http.Request) Error + type Handler struct + Env *Environment + Handle HandlerHandleFunc + func (handler Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) + type HandlerHandleFunc func(e *Environment, w http.ResponseWriter, r *http.Request) Error + type Host struct + Address string + Aliases []string + Container Container + Name string + Ports []Port + type HttpRoute struct + HandlerFunc HandlerHandleFunc + Method string + Name string + Pattern string + type HttpRoutes []HttpRoute + type Port struct + Port int + Protocol string + type RemoveMessage struct + HostId string + Type string + type StatusError struct + Code int + Err error + func (statusError StatusError) Error() string + func (statusError StatusError) Status() int + type WsRoute struct + HandlerFunc HandlerHandleFunc + Name string + Pattern string + type WsRoutes []WsRoute