Skip to content

noscripter/httpdoc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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+.

Go API

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

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

Support

This tool is a work in progress.

Resources Support
Standard status codes
Standard header fields
Standard methods

See Also

  • rfc: read RFCs in your terminal

About

📓 HTTP documentation right in your terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.5%
  • Makefile 1.5%