packagemultisend// A generic message to/from a worker.typeworkerMsgstruct{IDstring`json:"id,omitempty"`// A UUID for this worker.StateworkerState`json:"state,omitempty"`// The worker's desired or actual state.TxCountint`json:"tx_count,omitempty"`// The total number of transactions sent thus far by this worker.TotalTxBytesint64`json:"total_tx_bytes,omitempty"`// The total number of transaction bytes sent thus far by this worker.Errorstring`json:"error,omitempty"`// If the worker has failed somehow, a descriptive error message as to why.Config*Config`json:"config,omitempty"`// The load testing configuration, if relevant.}typeworkerStatestring// Remote worker possible statesconst(workerConnectedworkerState="connected"workerAcceptedworkerState="accepted"workerRejectedworkerState="rejected"workerTestingworkerState="testing"workerFailedworkerState="failed"workerCompletedworkerState="completed")