Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DoObserveFunc ¶
type LimitParallelRequests ¶
type LimitParallelRequests struct {
// contains filtered or unexported fields
}
func New ¶
func New(limit, endpointLimit int64, do DoFunc, doObserve DoObserveFunc) *LimitParallelRequests
New creates new LimitParallelRequests. When limit, endpointLimit == 0, then limit is not used.
func (*LimitParallelRequests) DoObserve ¶
func (c *LimitParallelRequests) DoObserve(req *pool.Message, observeFunc func(req *pool.Message)) (Observation, error)
Click to show internal directories.
Click to hide internal directories.