Documentation ¶
Index ¶
- func BoostCpuLimit(client *srpc.Client) error
- func CallFetch(client *srpc.Client, request sub.FetchRequest, reply *sub.FetchResponse) error
- func CallPoll(client *srpc.Client, request sub.PollRequest, reply *sub.PollResponse) error
- func CallUpdate(client *srpc.Client, request sub.UpdateRequest, reply *sub.UpdateResponse) error
- func Cleanup(client *srpc.Client, hashes []hash.Hash) error
- func Fetch(client *srpc.Client, serverAddress string, hashes []hash.Hash) error
- func GetConfiguration(client *srpc.Client) (sub.Configuration, error)
- func GetFiles(client *srpc.Client, filenames []string, ...) error
- func SetConfiguration(client *srpc.Client, config sub.Configuration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoostCpuLimit ¶
func CallFetch ¶ added in v0.3.2
func CallFetch(client *srpc.Client, request sub.FetchRequest, reply *sub.FetchResponse) error
func CallPoll ¶
func CallPoll(client *srpc.Client, request sub.PollRequest, reply *sub.PollResponse) error
func CallUpdate ¶
func CallUpdate(client *srpc.Client, request sub.UpdateRequest, reply *sub.UpdateResponse) error
func GetConfiguration ¶
func GetConfiguration(client *srpc.Client) (sub.Configuration, error)
func SetConfiguration ¶
func SetConfiguration(client *srpc.Client, config sub.Configuration) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.