Versions in this module Expand all Collapse all v0 v0.5.0 Jun 5, 2015 v0.4.2 Apr 1, 2015 v0.4.1 Mar 18, 2015 v0.4.0 Mar 12, 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 CombineFields(s []Field) string + 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 Field 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)