context

package
v0.0.0-...-fb1cdef Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	*request.Request
	*response.Response
}

Context - provides methods for extracting data from query and response back.

func NewContext

func NewContext(
	writer http.ResponseWriter,
	r *http.Request,
	responseMarshaler types.Marshaler,
	responseObject types.Responser,
) *Context

type Handler

type Handler func(*Context) error

Jump to

Keyboard shortcuts

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