 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Canceller ¶
type Canceller struct {
	context.Context
	Cancel context.CancelFunc
}
    Canceller is a simple wrapper for a cancellable context which makes the associated context.CancelFunc more easily accessible.
type HTTPRequestCanceller ¶
type HTTPRequestCanceller struct {
	// contains filtered or unexported fields
}
    HTTPRequestCanceller tracks a cancelable operation.
func NewHTTPRequestCanceller ¶
func NewHTTPRequestCanceller() *HTTPRequestCanceller
NewHTTPRequestCanceller returns a new HTTPRequestCanceller struct.
func (*HTTPRequestCanceller) Cancel ¶
func (c *HTTPRequestCanceller) Cancel() error
Cancel will attempt to cancel all ongoing operations.
func (*HTTPRequestCanceller) Cancelable ¶
func (c *HTTPRequestCanceller) Cancelable() bool
Cancelable indicates whether there are operations that support cancellation.
 Click to show internal directories. 
   Click to hide internal directories.