Versions in this module Expand all Collapse all v0 v0.9.0 Jul 2, 2020 Changes in this version + type Config struct + Addr string + CertFile string + KeyFile string + func ReadConfigFile(configFile string) (*Config, error) + type WebServer struct + func Server() *WebServer + func (s *WebServer) AddRoute(method string, route string, handler func(http.ResponseWriter, *http.Request)) + func (s *WebServer) Config(cfg *Config) + func (s *WebServer) Start() + func (s *WebServer) Stop() error