context

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 5 Imported by: ? modules, 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

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

func NewRequestCtx

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

func (*RequestCtx) Clone

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

func (*RequestCtx) Context

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

func (*RequestCtx) Deadline

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

func (*RequestCtx) Done

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

func (*RequestCtx) Err

func (c *RequestCtx) Err() error

func (*RequestCtx) Value

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