rexec

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

README

rexec

rexec is a sample application demonstrating libchan nested channels and bytestreams through remote executation calls. This is a minimal implementation to demonstrate the usage of libchan.

Usage

Server

$ cd rexec_server
$ go build .
$ ./rexec_server

Client

$ go build .
$ ./rexec /bin/echo "hello"
hello
$ ./rexec /bin/sh -c "exit 4"
$ echo $?
4
Usage with TLS

Server

$ TLS_CERT=./cert.pem TLS_KEY=./key.pem ./rexec_server

Client

$ USE_TLS=true ./rexec /bin/echo "hello"
hello

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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