http

package
v0.0.2-rc5 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResponseServerName = "ProtoMux-HTTP"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerNotFound

type HandlerNotFound struct {
}

func (*HandlerNotFound) Handler

func (h *HandlerNotFound) Handler(ctx *fasthttp.RequestCtx)

type Serve

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

func NewServe

func NewServe(mux *mux.Mux) (*Serve, error)

func (*Serve) Handler

func (s *Serve) Handler(ctx *fasthttp.RequestCtx)

func (*Serve) ServeMux

func (s *Serve) ServeMux(ctx context.Context, conn net.Conn)

Directories

Path Synopsis
log
mux

Jump to

Keyboard shortcuts

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