Documentation
¶
Index ¶
- type Client
- func (c *Client) GetInfo(client *rpc2.Client, req proto.GetInfoReq, resp *proto.GetInfoResp) error
- func (c *Client) GetWorkers(client *rpc2.Client, req proto.GetWorkersReq, resp *proto.GetWorkersResp) error
- func (c *Client) Ping(client *rpc2.Client, req proto.PingReq, resp *proto.PingResp) error
- func (c *Client) SendMessage(client *rpc2.Client, req proto.SendMessageReq, resp *proto.SendMessageResp) error
- type Server
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Name string
// Client certificate as Base64 encoded DER format.
CertificateString string
// contains filtered or unexported fields
}
func (*Client) GetInfo ¶
func (c *Client) GetInfo(client *rpc2.Client, req proto.GetInfoReq, resp *proto.GetInfoResp) error
GetInfo implements proto.ClientService
func (*Client) GetWorkers ¶
func (c *Client) GetWorkers(client *rpc2.Client, req proto.GetWorkersReq, resp *proto.GetWorkersResp) error
GetWorkers implements proto.ClientService
func (*Client) SendMessage ¶
func (c *Client) SendMessage(client *rpc2.Client, req proto.SendMessageReq, resp *proto.SendMessageResp) error
SendMessage implements proto.ClientService
Click to show internal directories.
Click to hide internal directories.