Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConnectionError ¶
IsConnectionError returns true when err is connection problem
Types ¶
type Worker ¶
type Worker struct { sync.RWMutex ID string Version string MaxParallel int32 Capabilities []string // List of function handled by worker ConnectionFailure int32 State workerState Address string // contains filtered or unexported fields }
Worker represents an async worker node
func (*Worker) Disconnect ¶
func (w *Worker) Disconnect()
Disconnect will stop all monitoring of the worker The Worker object cannot be further used without reconnecting it first.
func (*Worker) GetCapabilities ¶
func (*Worker) ValidationComplete ¶
func (w *Worker) ValidationComplete()
Click to show internal directories.
Click to hide internal directories.