server

package
v0.0.0-...-17c201b Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoggerMiddleware

func LoggerMiddleware(log *logger.BaseLogger, next http.Handler) http.Handler

Types

type HTTPServer

type HTTPServer struct {
	Server *http.Server
}

func NewHTTPServer

func NewHTTPServer(log *logger.BaseLogger) *HTTPServer

func (*HTTPServer) Run

func (s *HTTPServer) Run() error

type ServeHandler

type ServeHandler struct{}

func (*ServeHandler) Hello

func (sh *ServeHandler) Hello(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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