package
0.0.0-20210115222349-20d68f94ee1f
Repository: https://github.com/golang/gddo.git
Documentation: pkg.go.dev

# Packages

Package header provides functions for parsing HTTP headers.

# Functions

NegotiateContentEncoding returns the best offered content encoding for the request's Accept-Encoding header.
NegotiateContentType returns the best offered content type for the request's Accept header.
StripPort removes the port specification from an address.

# Structs

AuthTransport is an implementation of http.RoundTripper that authenticates with the GitHub API.
CacheBusters maintains a cache of cache busting tokens for static resources served by Handler.
ResponseBuffer is the current response being composed by its owner.
StaticServer serves static files.

# Type aliases

Error defines a type for a function that accepts a ResponseWriter for a Request with the HTTP status code and error.