Documentation
¶
Index ¶
- type Client
- func (c *Client) AddCompletedDownload7(ctx context.Context, arg0 string, arg1 string, arg2 bool, arg3 string, ...) (int64, error)
- func (c *Client) AddCompletedDownload9_1(ctx context.Context, arg0 string, arg1 string, arg2 bool, arg3 string, ...) (int64, error)
- func (c *Client) Enqueue(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) GetMaxBytesOverMobile(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) GetMimeTypeForDownloadedFile(ctx context.Context, arg0 int64) (string, error)
- func (c *Client) GetRecommendedMaxBytesOverMobile(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) GetUriForDownloadedFile(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) OpenDownloadedFile(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) Query(ctx context.Context, arg0 int64) (int64, error)
- func (c *Client) Remove(ctx context.Context, arg0 int64) (int32, 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 wraps the gRPC ManagerService client.
func NewClient ¶
func NewClient(cc grpc.ClientConnInterface) *Client
NewClient creates a new download client.
func (*Client) AddCompletedDownload7 ¶
func (c *Client) AddCompletedDownload7(ctx context.Context, arg0 string, arg1 string, arg2 bool, arg3 string, arg4 string, arg5 int64, arg6 bool) (int64, error)
AddCompletedDownload7 calls the AddCompletedDownload7 RPC.
func (*Client) AddCompletedDownload9_1 ¶
func (c *Client) AddCompletedDownload9_1(ctx context.Context, arg0 string, arg1 string, arg2 bool, arg3 string, arg4 string, arg5 int64, arg6 bool, arg7 int64, arg8 int64) (int64, error)
AddCompletedDownload9_1 calls the AddCompletedDownload9_1 RPC.
func (*Client) GetMaxBytesOverMobile ¶
GetMaxBytesOverMobile calls the GetMaxBytesOverMobile RPC.
func (*Client) GetMimeTypeForDownloadedFile ¶
GetMimeTypeForDownloadedFile calls the GetMimeTypeForDownloadedFile RPC.
func (*Client) GetRecommendedMaxBytesOverMobile ¶
GetRecommendedMaxBytesOverMobile calls the GetRecommendedMaxBytesOverMobile RPC.
func (*Client) GetUriForDownloadedFile ¶
GetUriForDownloadedFile calls the GetUriForDownloadedFile RPC.
func (*Client) OpenDownloadedFile ¶
OpenDownloadedFile calls the OpenDownloadedFile RPC.
Click to show internal directories.
Click to hide internal directories.