context

package
v0.0.0-...-c78e9a6 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: LGPL-2.1 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	context.Context

	InnerContext() context.Context
	GetLogger() logging.LoggerService
	SetLogger(logger logging.LoggerService)
	GetDbTranx() db.DbTransaction
	SetDbTranx(trx db.DbTransaction)
	GetDomainConstraints() dmodel.DynamicFields
	GetModuleName() string
}

func CloneRequestContext

func CloneRequestContext(ctx Context) Context

func NewRequestContext

func NewRequestContext(ctx context.Context, moduleName string) Context

func NewRequestContextF

func NewRequestContextF(ctx context.Context, moduleName string, domainConstraints dmodel.DynamicFields) Context

type RequestContext

type RequestContext struct {
	context.Context
	// contains filtered or unexported fields
}

func (RequestContext) GetDbTranx

func (this RequestContext) GetDbTranx() db.DbTransaction

func (RequestContext) GetDomainConstraints

func (this RequestContext) GetDomainConstraints() dmodel.DynamicFields

func (RequestContext) GetLogger

func (this RequestContext) GetLogger() logging.LoggerService

func (RequestContext) GetModuleName

func (this RequestContext) GetModuleName() string

func (RequestContext) InnerContext

func (this RequestContext) InnerContext() context.Context

func (*RequestContext) SetDbTranx

func (this *RequestContext) SetDbTranx(trx db.DbTransaction)

func (*RequestContext) SetLogger

func (this *RequestContext) SetLogger(logger logging.LoggerService)

Jump to

Keyboard shortcuts

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