All Projects â†’ bfontaine â†’ httpdoc

bfontaine / httpdoc

Licence: MIT license
📓 HTTP documentation right in your terminal.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

httpdoc

httpdoc gives you direct access to HTTP documentation straight from your terminal.

GoDoc Build Status

Usage

httpdoc <something>

Examples

$ httpdoc 200           # => Doc about the status code
$ httpdoc content-type  # => Doc about the header field

Install

go get github.com/bfontaine/httpdoc

httpdoc requires Go 1.2+.

Using Homebrew

If you use Homebrew or Linuxbrew you can install httpdoc with one command:

brew install bfontaine/utils/httpdoc

Go API

import (
    "fmt"
    "github.com/bfontaine/httpdoc/httpdoc"
)

doc := httpdoc.DefaultDoc
code, _ := doc.GetStatusCode("200")
fmt.Println(code.PrettyString())

Support

Resources Support
Standard status codes ✔
Standard header fields ✔
Standard methods ✔

See Also

  • rfc: read RFCs in your terminal
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].