context

package
v0.0.0-...-fe78ce7 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 5 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 {
	echo.Context
	// contains filtered or unexported fields
}

func NewContext

func NewContext(id uuid.UUID, c echo.Context) *Context

func (*Context) Error

func (c *Context) Error(err error)

func (*Context) ID

func (c *Context) ID() uuid.UUID

func (*Context) MediaTypes

func (c *Context) MediaTypes() nswebmime.HTTPAcceptMediaTypes

func (*Context) RespondWith

func (c *Context) RespondWith(status int, v interface{}) error

func (*Context) Responder

func (c *Context) Responder() nswebres.Responder

func (*Context) SkipLogging

func (c *Context) SkipLogging(v ...bool) bool

func (*Context) ValidateMediaType

func (c *Context) ValidateMediaType() error

Jump to

Keyboard shortcuts

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