Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GracefulServer ¶
type GracefulServer struct { Server *http.Server Logger *zap.Logger // contains filtered or unexported fields }
func (*GracefulServer) ListenAndServe ¶
func (s *GracefulServer) ListenAndServe() (err error)
func (*GracefulServer) WaitForExitingSignal ¶
func (s *GracefulServer) WaitForExitingSignal(timeout time.Duration)
Click to show internal directories.
Click to hide internal directories.