Currently only the "stop" command is sent to the main goroutine via a channel, and all other commands are processed directly by the RPC server.
The better way is to send all commands to the main goroutine, and then processed by the main goroutine.
What's your thought?
Currently only the "stop" command is sent to the main goroutine via a channel, and all other commands are processed directly by the RPC server.
The better way is to send all commands to the main goroutine, and then processed by the main goroutine.
What's your thought?