Versions in this module Expand all Collapse all v0 v0.1.0 Aug 21, 2022 Changes in this version + type Option func(*Server) + func Port(port int) Option + func ReadTimeout(timeout time.Duration) Option + func ShutdownTimeout(timeout time.Duration) Option + func WriteTimeout(timeout time.Duration) Option + type Server struct + func New(handler http.Handler, opts ...Option) *Server + func (s *Server) Notify() <-chan error + func (s *Server) Shutdown() error