Discover Packages
github.com/Kingson4Wu/saturncli
module
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jun 1, 2024
License: Apache-2.0
Opens a new window with license information.
README
README
¶
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 .
Design Overview
Quick Start
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
OR CRTL + C
to stop the task hello_stoppable
Documentation
See wiki
Contributing
If you are interested in contributing to saturncli, see CONTRIBUTING
License
saturncli is licensed under the term of the Apache 2.0 License
Expand ▾
Collapse ▴
Directories
¶
examples
Click to show internal directories.
Click to hide internal directories.