http

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomResponseWriter

func NewCustomResponseWriter(w http.ResponseWriter) *customResponseWriter

func NewHTTPAdapter

func NewHTTPAdapter(router *mux.Router, handler http.Handler, host string, port int, version string, logger kurin.Logger) kurin.Adapter

Types

type Adapter

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

func (*Adapter) Close

func (adapter *Adapter) Close()

func (*Adapter) NotifyStop

func (adapter *Adapter) NotifyStop(c chan os.Signal)

func (*Adapter) OnFailure

func (adapter *Adapter) OnFailure(err error)

func (*Adapter) Open

func (adapter *Adapter) Open()

Jump to

Keyboard shortcuts

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