internal

package
v0.0.0-...-7e4985f Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithMojitoHandler

func WithMojitoHandler(handler mojito.Handler) fasthttp.RequestHandler

WithMojitoHandler converts a Mojito handler to a fasthttp handler

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