Versions in this module Expand all Collapse all v1 v1.3.1 Feb 5, 2015 v1.3.0 Feb 2, 2015 v1.2.2 Jan 20, 2015 v1.2.1 Jan 14, 2015 v1.2.0 Jan 9, 2015 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)