Skip to content

Kingson4Wu/saturncli

Repository files navigation

Go Report Card GitHub top language GitHub stars codecov Go Reference Mentioned in Awesome Go LICENSE

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:

  1. make
  2. ./saturn_svr
  3. ./saturn_cli -name hello -args 'id=33&ver=22'
  4. ./saturn_cli -name hello_stoppable
  5. ./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