Versions in this module Expand all Collapse all v0 v0.1.0 Aug 23, 2020 Changes in this version + func InterceptShutdownSignals(shutdown func()) + type Options struct + DefaultDevPort int + GracefulShutdownTimeout time.Duration + Host string + IsLocalDevelopmentHost bool + LetsEncrypt bool + LetsEncryptCacheDir string + LetsEncryptEmail string + Log func(format string, v ...interface{}) + Port int + PrimaryScheme string + func (sopt *Options) LoadEnv() error + func (sopt *Options) Verify() error + func (sopt Options) BaseURL() string + type Server struct + func Start(handler http.Handler, sopt Options) (*Server, error) + func (srv *Server) BaseURL() string + func (srv *Server) Endpoints() []string + func (srv *Server) Log(format string, args ...interface{}) + func (srv *Server) Shutdown() + func (srv *Server) Wait() error