Documentation ¶
Index ¶
- type Client
- func (c *Client) AfterRun() error
- func (c *Client) BeforeRun() error
- func (c *Client) CheckoutCollector() (collector.Collector, bool, error)
- func (c *Client) Do() error
- func (c *Client) Init() error
- func (c *Client) SetContext(d []byte) error
- func (c *Client) Statistics() (int64, int64)
- func (c *Client) Teardown()
- func (c *Client) Testinit() error
- func (c *Client) TestsetNonce() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is used to communicate with worker by master.
func (*Client) CheckoutCollector ¶
CheckoutCollector checkout collector.
func (*Client) SetContext ¶
SetContext set the context of worker passed from Master.
func (*Client) Statistics ¶
Statistic get the number of sent and missed transactions
Click to show internal directories.
Click to hide internal directories.