Versions in this module Expand all Collapse all v0 v0.2.1 Jan 7, 2020 v0.2.0 Mar 25, 2018 v0.1.0 Jan 21, 2018 Changes in this version + const DefaultPort + const MinimalPort + type Config struct + EnablePProf bool + Enabled bool + Host string + Port int + XXX map[string]interface{} + func NewConfig() Config + func (c *Config) Apply() error + func (c *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + func (c *Config) Validate() error + type Server struct + func NewServer(config Config, write *service.WriteService, read *service.ReadService) *Server + func (s *Server) Mux() *http.ServeMux + func (s *Server) Start() error + func (s *Server) Stop()