mojito_router_fasthttp

package module
v0.0.0-...-793d09c Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 10 Imported by: 0

README

go-mojito-router-fasthttp

Mojito FastHTTP router implementation

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFastHttpRouter

func NewFastHttpRouter() mojito.Router

NewFastHttpRouter will create new instance of the mojito fasthttp router implementation

Types

type Response

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

func NewResponse

func NewResponse(ctx *fasthttp.RequestCtx) *Response

func (*Response) Header

func (r *Response) Header() http.Header

func (*Response) Write

func (r *Response) Write(body []byte) (int, error)

func (*Response) WriteHeader

func (r *Response) WriteHeader(status int)

Jump to

Keyboard shortcuts

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