English| 简体中文
A command-line client that communicates with a server process via Linux domain sockets. The server communication logic can be directly embedded into server code written in Golang, facilitating the use of shell-type scheduled tasks in the open-source project Saturn.
1. embedded usage: see examples
2. command line usage:
make
./saturn_svr
./saturn_cli -name hello -args 'id=33&ver=22'
./saturn_cli -name hello_stoppable
./saturn_cli -name hello_stoppable -stop
ORCRTL + C
to stop the taskhello_stoppable
See wiki
If you are interested in contributing to saturncli, see CONTRIBUTING
saturncli is licensed under the term of the Apache 2.0 License