context

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 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

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