context

package
v0.20.14 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromRequest

func FromRequest(c *fiber.Ctx) context.Context

Types

type RequestCtx added in v0.13.0

type RequestCtx struct {
	*fiber.Ctx
	// contains filtered or unexported fields
}

func NewRequestCtx added in v0.13.0

func NewRequestCtx(c *fiber.Ctx, ctx context.Context) *RequestCtx

func (*RequestCtx) Clone added in v0.13.0

func (c *RequestCtx) Clone(ctx context.Context) *RequestCtx

func (*RequestCtx) Context added in v0.13.0

func (c *RequestCtx) Context() context.Context

func (*RequestCtx) Deadline added in v0.13.0

func (c *RequestCtx) Deadline() (deadline time.Time, ok bool)

func (*RequestCtx) Done added in v0.13.0

func (c *RequestCtx) Done() <-chan struct{}

func (*RequestCtx) Err added in v0.13.0

func (c *RequestCtx) Err() error

func (*RequestCtx) Value added in v0.13.0

func (c *RequestCtx) Value(key interface{}) interface{}

Directories

Path Synopsis
Package metadata is a way of defining message headers
Package metadata is a way of defining message headers

Jump to

Keyboard shortcuts

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