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: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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