https://github.com/gobwas/mk52
Calculus
https://github.com/gobwas/mk52
Last synced: about 1 month ago
JSON representation
Calculus
- Host: GitHub
- URL: https://github.com/gobwas/mk52
- Owner: gobwas
- Created: 2015-10-08T19:38:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-09T09:53:33.000Z (over 9 years ago)
- Last Synced: 2025-01-24T09:42:30.661Z (3 months ago)
- Language: Go
- Size: 137 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Electronica MK-52

## Build
This app uses [gb](http://getgb.io) to manage dependencies.
So use it to restore deps and build sources:```shell
gb vendor restore && gb build
```## Usage
Both `client` and `server` apps use the same options:
Option | Default | Meaning
--------|-----------|--------
host | localhost | Host to listen/connect
port | 5555 | Port to listen/connect
route | mk52 | Route for websocket handler
timeout | 10 | Timeout in seconds to wait for request/responseSo:
```shell
./bin/server
``````shell
./bin/client - "1 + 1 + 5 * 10 + 9 ^ 2"
```## Output
Both `client` and `server` use the same logging strategy - all log message is sent to `stderr`.
`client` send result data to `stdout`.