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
Click to show internal directories.
Click to hide internal directories.