Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
ServiceContext 实现 context.Context 接口
func NewServiceContext ¶
func NewServiceContext(c *gin.Context) *ServiceContext
func (*ServiceContext) Deadline ¶ added in v1.6.3
func (c *ServiceContext) Deadline() (deadline time.Time, ok bool)
func (*ServiceContext) Done ¶ added in v1.6.3
func (c *ServiceContext) Done() <-chan struct{}
func (*ServiceContext) Err ¶ added in v1.6.3
func (c *ServiceContext) Err() error
func (*ServiceContext) Value ¶ added in v1.6.3
func (c *ServiceContext) Value(key any) any
Click to show internal directories.
Click to hide internal directories.