Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
// Start running the api client
Start() error
// Stop stop the client
Stop() error
// GetInfo get the file server info
GetInfo() (*info.FileServerInfo, error)
// Monitor monitor the remote server
Monitor() (monitor.MonitorService_MonitorClient, error)
// IsClosed is connection closed of the current client
IsClosed(err error) bool
// SubscribeTask register a task client to the task server and wait to receive task
SubscribeTask(clientInfo *task.ClientInfo) (task.TaskService_SubscribeTaskClient, error)
}
Client the gofs api client
Click to show internal directories.
Click to hide internal directories.