context

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServiceContextMiddleware deprecated

func ServiceContextMiddleware[T any](logger *zap.Logger, tracer *trace.Tracer, props T) echo.MiddlewareFunc

Deprecated: Use fctx.Middleware instead.

Types

type ServiceContext deprecated

type ServiceContext[T any] struct {
	echo.Context
	ZapLogger    *zap.Logger
	Tracer       *trace.Tracer
	Props        T
	RequestProps map[string]interface{}
}

Deprecated: Use fctx.From and fctx.Logger/fctx.Tracer/fctx.RequestID.

func GetServiceContext deprecated

func GetServiceContext[T any](ctx echo.Context) *ServiceContext[T]

Deprecated: Use fctx.From plus fctx.Logger/fctx.Tracer.

func (*ServiceContext[T]) BindValidate deprecated

func (c *ServiceContext[T]) BindValidate(i interface{}) error

Deprecated: Use [fastecho.BindValidate] instead.

Jump to

Keyboard shortcuts

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