Documentation
¶
Index ¶
- type Context
- type RequestContext
- func (this RequestContext) GetDbTranx() db.DbTransaction
- func (this RequestContext) GetDomainConstraints() dmodel.DynamicFields
- func (this RequestContext) GetLogger() logging.LoggerService
- func (this RequestContext) GetModuleName() string
- func (this RequestContext) InnerContext() context.Context
- func (this *RequestContext) SetDbTranx(trx db.DbTransaction)
- func (this *RequestContext) SetLogger(logger logging.LoggerService)
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 NewRequestContextF ¶
type RequestContext ¶
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)
Click to show internal directories.
Click to hide internal directories.