Lines Matching defs:Serve
29 type Serve struct { struct
30 … help:"filename to log to. if value is \"auto\", then logging to a default output file is enabled"`
31 Mode string `flag:"mode" help:"no effect"`
32 Port int `flag:"port" help:"port on which to run gopls for debugging purposes"`
33 …refixed by 'unix;', the subsequent address is assumed to be a unix domain socket. Otherwise, TCP i…
34 …hen used with -listen, shut down the server when there are no connected clients for this duration"`
35 …race bool `flag:"rpc.trace" help:"print the full rpc trace in lsp inspector format"`
36 Debug string `flag:"debug" help:"serve debug information on the supplied address"`
38 …en.timeout" help:"when used with -remote=auto, the -listen.timeout value used to start the daemon"`
39 …`flag:"remote.debug" help:"when used with -remote=auto, the -debug value used to start the daemon"`
40 …g:"remote.logfile" help:"when used with -remote=auto, the -logfile value used to start the daemon"`
42 app *Application
45 func (s *Serve) Name() string { return "serve" }
46 func (s *Serve) Usage() string { return "" }
47 func (s *Serve) ShortHelp() string {
50 func (s *Serve) DetailedHelp(f *flag.FlagSet) {
62 func (s *Serve) Run(ctx context.Context, args ...string) error {