ctx

package
v0.0.0-...-5004fd2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EchoContextWithValue

func EchoContextWithValue(c echo.Context, key any, value any, isServiceContext bool) echo.Context

func Elevate

func Elevate(c context.Context) context.Context

func InjectServiceContextMiddleware

func InjectServiceContextMiddleware(serviceContext context.Context) echo.MiddlewareFunc

Types

type RequestContext

type RequestContext interface {
	echo.Context
	context.Context
	WithValue(key any, val any) RequestContext
	Elevate() RequestContext
}

func NewInjectedRequestContext

func NewInjectedRequestContext(c echo.Context, serviceCtx context.Context) RequestContext

Jump to

Keyboard shortcuts

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