Documentation
¶
Index ¶
- func FromRowLock(ctx context.Context) bool
- func FromTracdId(ctx context.Context) string
- func FromTrans(ctx context.Context) (*gorm.DB, bool)
- func FromUserId(ctx context.Context) string
- func FromUserToken(ctx context.Context) string
- func NewRowLock(ctx context.Context) context.Context
- func NewTraceId(ctx context.Context, traceId string) context.Context
- func NewTrans(ctx context.Context, db *gorm.DB) context.Context
- func NewUserId(ctx context.Context, userId string) context.Context
- func NewUserToken(ctx context.Context, userToken string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromRowLock ¶
func FromTracdId ¶
func FromUserId ¶
func FromUserToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.