Documentation ¶ Index ¶ func GetSingle(list []*rpc.MirrorID) (int, string, error) func ParseCommands(args ...string) error func SubCmd(name, signature, description string) *flag.FlagSet type ByDate func (d ByDate) Len() int func (d ByDate) Less(i, j int) bool func (d ByDate) Swap(i, j int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetSingle ¶ func GetSingle(list []*rpc.MirrorID) (int, string, error) func ParseCommands ¶ func ParseCommands(args ...string) error ParseCommands parses the command line and call the appropriate functions func SubCmd ¶ func SubCmd(name, signature, description string) *flag.FlagSet SubCmd prints the usage of a subcommand Types ¶ type ByDate ¶ type ByDate []*rpc.Mirror func (ByDate) Len ¶ func (d ByDate) Len() int func (ByDate) Less ¶ func (d ByDate) Less(i, j int) bool func (ByDate) Swap ¶ func (d ByDate) Swap(i, j int) Source Files ¶ View all Source files commands.go rpc.go Click to show internal directories. Click to hide internal directories.