googlesamples/onetwoseven

Name: onetwoseven

Owner: Google Samples

Description: Programmers debugging web server.

Created: 2016-04-08 03:46:43.0

Updated: 2018-03-13 15:28:22.0

Pushed: 2017-01-04 15:14:56.0

Homepage: null

Size: 4

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

onetwoseven

The simplest programmer's web server. Use it as an executable or a Go library.

$ 127
12:43 I ?? ??????
12:43 I  ? ???  ?
12:43 I ??????  ?
12:43 I starting . on 127.0.0.1:8190

There are as few options as possible.

$ 127 --help
usage: 127 [<flags>] [<path>]

Programmer's test http server

Flags:
      --help                   Show context-sensitive help (also try --help-long and --help-man).
  -h, --host="127.0.0.1:8190"  Host and port to start server on
  -p, --path="."               path to serve.
  -d, --verbose                Print debugging output.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.