server

command
v0.0.0-...-69b81fd Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command server is a simple HTTP server that demonstrates usage of the bespoke package.

Usage

Start the server from the bespoke root directory, after making sure that the hello command has been built.

$ examples/server/server
2015/06/09 00:11:12 listening at http://localhost:6060/

Now download and execute a bespoke binary by doing

$ curl http://localhost:6060/foo > hello_foo
$ chmod +x hello_foo
$ ./hello_foo
hello foo

Jump to

Keyboard shortcuts

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