elvish/pkg/daemon
Qi Xiao 33a04f8dc1 Revamp flag handling in pkg/prog.
Instead of putting all possible flags in prog.Flags, flags are now registered by
the individual subprograms. The 3 flags -sock, -db and -json are shared by
multiple subprograms and still handled by the prog package.

This new design allows separating the support for -cpuprofile into a separate
subprogram, which is no longer included by the default entry point, making the
binary slightly smaller. A new entrypoint "withpprof" is created.

Also include the LSP subprogram in the nodaemon entry point.
2022-02-05 14:52:29 +00:00
..
daemondefs Refactor shell and daemon initialization code. 2021-06-28 20:02:38 +01:00
internal/api Move API of pkg/store into pkg/storedefs. 2021-06-19 01:54:00 +01:00
activate_test.go pkg/testutil: ScaledMs -> Scaled, takes a time.Duration instead. 2021-10-05 01:02:54 +01:00
activate_unix_test.go pkg/daemon: Fix activate_unix_test.go. 2021-10-02 19:04:36 +01:00
activate.go pkg/daemon: Let killDaemon wait until the socket file is removed. 2021-10-02 18:41:50 +01:00
client.go Merge pkg/daemon/client into pkg/daemon. 2021-09-30 23:37:36 +01:00
server_test.go Revamp flag handling in pkg/prog. 2022-02-05 14:52:29 +00:00
server_unix_test.go pkg/daemon: Test Activate killing outdated daemon. 2021-10-02 15:47:18 +01:00
server.go Revamp flag handling in pkg/prog. 2022-02-05 14:52:29 +00:00
service.go pkg/daemon: Test Activate killing outdated daemon. 2021-10-02 15:47:18 +01:00
sys_unix.go pkg/daemon: Fix the handling of hanging sockets. 2021-10-01 23:56:57 +01:00
sys_windows.go pkg/daemon: Fix the handling of hanging sockets. 2021-10-01 23:56:57 +01:00