Documentation ¶
Index ¶
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 GetExecutorClient ¶
GetExecutorClient returns executor client
func (*Client) GetTaskById ¶
GetTaskById gets task by id through executor server
func (*Client) ListTask ¶
func (c *Client) ListTask(ctx context.Context, rPubkeyStr, ePubkeyStr, status string, start, end, limit int64) (ts *pbTask.FLTasks, err error)
ListTask lists tasks by requester or executor's public key hex string support listing tasks a requester published or tasks an executor involved status is task status to search only task published after "start" before "end" will be listed limit is the maximum number of tasks to response
Click to show internal directories.
Click to hide internal directories.