Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultTimeout = 30 * time.Second
)
Variables ¶
View Source
var ( ErrOnPrepareResultMustNotNil = errors.New("http request must not nil") ErrOnCompletedMustNotNil = errors.New("http request on completed must not nil") )
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) Request ¶
func (m *Manager) Request(timeout time.Duration, tag Tag, onPrepare OnPrepareFunc, onCompletedFunc OnCompletedFunc) (id ID, err error)
type OnPrepareFunc ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func (Request) GetResponseBodyData ¶
Click to show internal directories.
Click to hide internal directories.