Lines Matching defs:Serve
22 type Serve struct { struct
23 … help:"filename to log to. if value is \"auto\", then logging to a default output file is enabled"`
24 Mode string `flag:"mode" help:"no effect"`
25 Port int `flag:"port" help:"port on which to run gopls for debugging purposes"`
26 Address string `flag:"listen" help:"address on which to listen for remote connections"`
27 Trace bool `flag:"rpc.trace" help:"print the full rpc trace in lsp inspector format"`
28 Debug string `flag:"debug" help:"serve debug information on the supplied address"`
30 app *Application
33 func (s *Serve) Name() string { return "serve" }
34 func (s *Serve) Usage() string { return "" }
35 func (s *Serve) ShortHelp() string {
38 func (s *Serve) DetailedHelp(f *flag.FlagSet) {
50 func (s *Serve) Run(ctx context.Context, args ...string) error {