Versions in this module Expand all Collapse all v0 v0.5.1 Jun 23, 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 ResolveRelative(basestr, relstr string) string + func SetOpaque(u *url.URL) + type ContentTyper interface + ContentType func() string + type Error struct + Body string + Code int + Message string + func (e *Error) Error() 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)