Documentation
¶
Index ¶
- func FromDomainID(ctx context.Context) uint64
- func FromMemberID(ctx context.Context) uint64
- func FromMemberName(ctx context.Context) string
- func FromNoTrans(ctx context.Context) bool
- func FromTraceID(ctx context.Context) (string, bool)
- func FromTrans(ctx context.Context) (interface{}, bool)
- func FromTransLock(ctx context.Context) bool
- func NewDomainID(ctx context.Context, domainID uint64) context.Context
- func NewMemberID(ctx context.Context, userID uint64) context.Context
- func NewMemberName(ctx context.Context, userName string) context.Context
- func NewNoTrans(ctx context.Context) context.Context
- func NewTraceID(ctx context.Context, traceID string) context.Context
- func NewTrans(ctx context.Context, trans interface{}) context.Context
- func NewTransLock(ctx context.Context) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromDomainID ¶
func FromMemberID ¶
func FromMemberName ¶
func FromNoTrans ¶
func FromTransLock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.