fiberctx

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeviceFromHeader

func DeviceFromHeader(r http.Header) *reqctx.DeviceInfo

Types

type Context

type Context = reqctx.Context[fiber.Ctx]

func FromContextValue added in v1.16.0

func FromContextValue(ctx context.Context) *Context

func FromRequest added in v1.16.0

func FromRequest(req fiber.Ctx) *Context

type FiberContext

type FiberContext Context

func (*FiberContext) SendHeader

func (c *FiberContext) SendHeader(md metadata.MD) error

func (*FiberContext) SetCookie

func (c *FiberContext) SetCookie(v string) error

func (*FiberContext) SetHeader

func (c *FiberContext) SetHeader(md metadata.MD) error

func (*FiberContext) SetTrailer

func (c *FiberContext) SetTrailer(md metadata.MD) error

func (*FiberContext) WriteHeader

func (c *FiberContext) WriteHeader(k, v string) error

Jump to

Keyboard shortcuts

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