Documentation ¶
Index ¶
- func CheckOnTransactional(ctx context.Context) bool
- func GetRequestId(ctx context.Context) string
- func GetTransactional(ctx context.Context) (transactional.Transactional, bool)
- func NewContext() context.Context
- func NewContextWithGin(c *gin.Context) context.Context
- func NewContextWithParent(parent context.Context) context.Context
- func NewContextWithTimeout(parent context.Context, timeout time.Duration) (context.Context, context2.CancelFunc)
- func NewContextWithValue(parent context.Context, key string, value any) context.Context
- func SetTransactional(ctx context.Context, transactional transactional.Transactional) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckOnTransactional ¶
func GetRequestId ¶
func GetTransactional ¶
func GetTransactional(ctx context.Context) (transactional.Transactional, bool)
func NewContext ¶
func NewContextWithTimeout ¶
func NewContextWithValue ¶
func SetTransactional ¶
func SetTransactional(ctx context.Context, transactional transactional.Transactional) context.Context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.