Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RenewableContext ¶
type RenewableContext struct {
// contains filtered or unexported fields
}
func WithRenewableTimeout ¶
func WithRenewableTimeout(parent context.Context, timeout time.Duration) (*RenewableContext, context.CancelFunc)
func (*RenewableContext) Cancel ¶
func (rc *RenewableContext) Cancel()
func (*RenewableContext) Done ¶
func (rc *RenewableContext) Done() <-chan struct{}
func (*RenewableContext) Err ¶
func (rc *RenewableContext) Err() error
func (*RenewableContext) Renew ¶
func (rc *RenewableContext) Renew(timeout time.Duration)
func (*RenewableContext) Value ¶
func (rc *RenewableContext) Value(key interface{}) interface{}
Click to show internal directories.
Click to hide internal directories.