gopherdoc

command module
v0.0.0-...-6056051 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2017 License: ISC Imports: 17 Imported by: 0

README

Gopherdoc

Gopherdoc runs a Gopher server providing documentation for Go programs.

At this stage, it runs documentation for all packages contained with the $GOROOT and $GODOC paths. It offers no constraints on inbound requests, so it may be unwise to run on the public internet.

Documentation is at: at: https://godoc.org/whitehouse.id.au/gopherdoc.

Usage

To run the Gopher server accessible at the host go.example.com:

$ go get whitehouse.id.au/gopherdoc
$ gopherdoc -host go.example.com

Documentation

Overview

Gopherdoc runs a Gopher server providing documentation for Go programs.

Documentation is served for all packages contained with the $GOROOT and $GODOC paths.

The addr flag is used to control the interface and port binding.

gopherdoc -addr 0.0.0.0:gopher

The host flag determines the host used in directory entities. If this server were to be accessible at go.example.com, then the following would ensure the server generates menu entries that are accessible:

gopherdoc -host go.example.com

Jump to

Keyboard shortcuts

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