Discover Packages
github.com/framps/golang_gotchas
httpStress
task.go
package
Version:
v0.0.0-...-e2a1867
Opens a new window with list of versions in this module.
Published: Feb 24, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type SimpleWorkerTask struct {
Task
}
SimpleWorkerTask - Just a simple http get
Task - describes the task a worker has to execute
func (t *Task ) PostProcess()
PostProcess -
type WorkerTask interface {
Receive(client *http .Client ) int
PostProcess()
IsSyncRequest() bool
}
WorkerTask -
Source Files
¶
Click to show internal directories.
Click to hide internal directories.