httpsrv

package
v0.5.0-beta2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(server *http.Server, logger *zap.Logger, closeDuration time.Duration) *Server

func (*Server) CloseWithContext

func (srv *Server) CloseWithContext(ctx context.Context) error

func (*Server) Start

func (srv *Server) Start()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL