Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVersionHandler ¶
func NewVersionHandler(version string) func(w http.ResponseWriter, r *http.Request)
Types ¶
type Config ¶
type Config struct { Port int Addr string EtcdUrl string TemplatesDir string SpawnInterval time.Duration UiDir string ReadTimeout time.Duration WriteTimeout time.Duration IdleTimeout time.Duration PprofListenStr string ProxiesPortRange proxy.PortRange Version string }
Config is the server configuration
Click to show internal directories.
Click to hide internal directories.