Documentation ¶
Index ¶
- Constants
- Variables
- func Get(context Context, uri string, result interface{}) error
- func GetLocation(context Context, uri string) (*url.URL, error)
- func Patch(context Context, uri string, body interface{}, result interface{}) error
- func Post(context Context, uri string, body interface{}, result interface{}) error
- type Context
- type Headers
Constants ¶
View Source
const (
BearerAuthorization = "Bearer"
)
Variables ¶
View Source
var ( HeaderUserAgent = http.CanonicalHeaderKey("User-Agent") HeaderAuthorization = http.CanonicalHeaderKey("Authorization") HeaderLocation = http.CanonicalHeaderKey("Location") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.