http

package
v2.23.5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 14 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 NewHTTPServer

func NewHTTPServer(handler http.Handler, address string, http2Conf *https.HTTP2, sslCfg *https.SSL, errLog *log.Logger, log *zap.Logger) *Server

func (*Server) GetServer

func (s *Server) GetServer() *http.Server

func (*Server) Start

func (s *Server) Start(mdwr map[string]middleware.Middleware, order []string) error

Start is a blocking function

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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