Versions in this module Expand all Collapse all v0 v0.4.3 Oct 30, 2014 v0.4.2 Oct 29, 2014 v0.4.1 Oct 17, 2014 Changes in this version + const Version + var WithDataWrapper = MarshalStyle(true) + var WithoutDataWrapper = MarshalStyle(false) + func CheckResponse(res *http.Response) error + func CloseBody(res *http.Response) + func ConditionallyIncludeMedia(media io.Reader, bodyp *io.Reader, ctypep *string) (totalContentLength int64, ok bool) + func ConvertVariant(v map[string]interface{}, dst interface{}) bool + func Expand(u *url.URL, expansions map[string]string) + func ResolveRelative(basestr, relstr string) string + func SetOpaque(u *url.URL) + func VariantType(t map[string]interface{}) string + type ContentTyper interface + ContentType func() string + type Error struct + Body string + Code int + Errors []ErrorItem + Message string + func (e *Error) Error() string + type ErrorItem struct + Message string + Reason string + type Float64s []float64 + func (q *Float64s) UnmarshalJSON(raw []byte) error + func (s Float64s) MarshalJSON() ([]byte, error) + type Int32s []int32 + func (q *Int32s) UnmarshalJSON(raw []byte) error + func (s Int32s) MarshalJSON() ([]byte, error) + type Int64s []int64 + func (q *Int64s) UnmarshalJSON(raw []byte) error + func (s Int64s) MarshalJSON() ([]byte, error) + type Lengther interface + Len func() int + type MarshalStyle bool + func (wrap MarshalStyle) JSONReader(v interface{}) (io.Reader, error) + type Uint32s []uint32 + func (q *Uint32s) UnmarshalJSON(raw []byte) error + func (s Uint32s) MarshalJSON() ([]byte, error) + type Uint64s []uint64 + func (q *Uint64s) UnmarshalJSON(raw []byte) error + func (s Uint64s) MarshalJSON() ([]byte, error)