Documentation ¶
Index ¶
Constants ¶
View Source
const MaxRequests = 100
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmptyResponse ¶
type EmptyResponse struct{}
func (*EmptyResponse) LogResponse ¶
func (res *EmptyResponse) LogResponse(recv bool)
type WorkRequest ¶
type WorkRequest struct {
// contains filtered or unexported fields
}
func NewWorkRequest ¶
func NewWorkRequest(req Request, wg *sync.WaitGroup) *WorkRequest
func (*WorkRequest) GetRequest ¶
func (wr *WorkRequest) GetRequest() Request
func (*WorkRequest) GetResult ¶
func (wr *WorkRequest) GetResult() Response
func (*WorkRequest) GetWG ¶
func (wr *WorkRequest) GetWG() *sync.WaitGroup
func (*WorkRequest) SetResult ¶
func (wr *WorkRequest) SetResult(res Response)
Click to show internal directories.
Click to hide internal directories.