type Serve … func (s *Serve) Name() string { … } func (s *Serve) Parent() string { … } func (s *Serve) Usage() string { … } func (s *Serve) ShortHelp() string { … } func (s *Serve) DetailedHelp(f *flag.FlagSet) { … } func (s *Serve) remoteArgs(network, address string) []string { … } // Run configures a server based on the flags, and then runs it. // It blocks until the server shuts down. func (s *Serve) Run(ctx context.Context, args ...string) error { … }