Versions in this module Expand all Collapse all v1 v1.0.1 Oct 15, 2019 v1.0.0 Aug 18, 2019 Changes in this version + type HttpServer struct + func StartServer(ctx context.Context, configurator ServerConfigurator) (*HttpServer, error) + func (s *HttpServer) ListenAndHandleShutdown(ctx context.Context) error + func (s *HttpServer) ShutdownGracefully(ctx context.Context) error + type Server interface + ListenAndHandleShutdown func(ctx context.Context) error + ShutdownGracefully func(ctx context.Context) error + type ServerConfigurator interface + ConfigureRoutes func() http.Handler + Listener func() net.Listener + LogError func(message string, port int) + LogInfo func(message string, port int)