piper

module
v0.0.0-...-377890d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2020 License: GPL-3.0

README

REC Data Broadcasting Server

Simple broadcasting server using WebSocket protocol

With support for running script and broadcasting its output

Golang (required)

Follow the instruction at https://golang.org/doc/install if you have not installed Golang before

How to install

go get -u github.com/letung3105/piper/cmd/piper

For development

Please read the Makefile for more information

Build

go get -u github.com/letung3105/piper
cd $GOPATH/src/github.com/letung3105/piper
make build

Install

go get -u github.com/letung3105/piper
cd $GOPATH/src/github.com/letung3105/piper
make install

Usage

Usage of piper:
  -b string
        name of interpreter (default "python")
  -p string
        port use (default "8000")
  -s string
        name of script

Example

Broadcasting the output of the python script mock.py on localhost:8000

cd $GOPATH/src/github.com/letung3105/piper
piper -b python3 -s ./scripts/mock.py -p 8000

Directories

Path Synopsis
cmd
pkg
hub

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL