package contexts
Types
Cancellable
struct
type Cancellable struct {
// Has unexported fields.
}
NewCancellable
func NewCancellable() *Cancellable
Cancellable.Cancel
func (p *Cancellable) Cancel()
Cancellable.Deadline
func (p *Cancellable) Deadline() (time.Time, bool)
Cancellable.Done
func (p *Cancellable) Done() <-chan struct{}
Cancellable.Err
func (p *Cancellable) Err() error
Cancellable.Value
func (p *Cancellable) Value(any) any