Example #1
0
// Subscribes an email to a feed.
func subscribe(client *rpc.Client) (*rpc.Reply, error) {
	if flag.NArg() < 3 {
		usage()
	}
	return client.Subscribe(flag.Arg(1), flag.Arg(2))
}