Documentation ¶
Index ¶
- type Client
- func (obj *Client) ClientRequestExist(guid string) (bool, error)
- func (obj *Client) DeletePendingRequest(guid string) error
- func (obj *Client) GetAllPendingClientRequestGuid() ([]string, error)
- func (obj *Client) GetClientRequestInformation(guid string) (uint8, []byte, error)
- func (obj *Client) GetCurrentLeaderPublicInternetAddress() (string, error)
- func (obj *Client) GetProcessMembershipTable() (map[int]map[int]string, error)
- func (obj *Client) Initialize() error
- func (obj *Client) KeepConnectionAlive()
- func (obj *Client) RegisterClientRequest(guid string, initialStatus uint8) error
- func (obj *Client) RegisterClientRequestAsComplete(guid string, outputGuid string) error
- func (obj *Client) RegisterNewWorkerProcess(processId int, processGroupId int, processPublicInternetAddress string) error
- func (obj *Client) UpdateClientRequestStatusBackup(guid string, status uint8, data []byte) error
- func (obj *Client) WaitForClientRequestCompletion(guid string) (string, error)
- func (obj *Client) WaitUntilLeader(myOwnPublicInternetAddress string) error
- func (obj *Client) WaitUntilProcessMembershipChanges() error
- type ElectionResponse
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
}
func (*Client) ClientRequestExist ¶
func (*Client) DeletePendingRequest ¶
func (*Client) GetAllPendingClientRequestGuid ¶
func (*Client) GetClientRequestInformation ¶
func (*Client) GetCurrentLeaderPublicInternetAddress ¶
func (*Client) GetProcessMembershipTable ¶
func (*Client) Initialize ¶
func (*Client) KeepConnectionAlive ¶
func (obj *Client) KeepConnectionAlive()
func (*Client) RegisterClientRequest ¶
func (*Client) RegisterClientRequestAsComplete ¶
func (*Client) RegisterNewWorkerProcess ¶
func (*Client) UpdateClientRequestStatusBackup ¶
func (*Client) WaitForClientRequestCompletion ¶
func (*Client) WaitUntilLeader ¶
func (*Client) WaitUntilProcessMembershipChanges ¶
type ElectionResponse ¶
Click to show internal directories.
Click to hide internal directories.