Versions in this module Expand all Collapse all v1 v1.1.0 Jun 22, 2016 Changes in this version + const DefaultUploadChunkSize + const MinUploadChunkSize + const UserAgent + const Version + var WithDataWrapper = MarshalStyle(true) + var WithoutDataWrapper = MarshalStyle(false) + func Bool(v bool) *bool + func CheckMediaResponse(res *http.Response) error + func CheckResponse(res *http.Response) error + func CloseBody(res *http.Response) + func CombineFields(s []Field) string + func ConvertVariant(v map[string]interface{}, dst interface{}) bool + func Expand(u *url.URL, expansions map[string]string) + func Float64(v float64) *float64 + func Int32(v int32) *int32 + func Int64(v int64) *int64 + func IsNotModified(err error) bool + func ResolveRelative(basestr, relstr string) string + func SetOpaque(u *url.URL) + func String(v string) *string + func Uint32(v uint32) *uint32 + func Uint64(v uint64) *uint64 + func VariantType(t map[string]interface{}) string + type CallOption interface + Get func() (key, value string) + func QuotaUser(u string) CallOption + func Trace(traceToken string) CallOption + func UserIP(ip string) CallOption + type ContentTyper interface + ContentType func() string + type Error struct + Body string + Code int + Errors []ErrorItem + Header http.Header + 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 MarshalStyle bool + func (wrap MarshalStyle) JSONReader(v interface{}) (io.Reader, error) + type MediaOption interface + func ChunkSize(size int) MediaOption + func ContentType(ctype string) MediaOption + type MediaOptions struct + ChunkSize int + ContentType string + ForceEmptyContentType bool + func ProcessMediaOptions(opts []MediaOption) *MediaOptions + type ProgressUpdater func(current, total int64) + type ServerResponse struct + HTTPStatusCode int + Header http.Header + type SizeReaderAt interface + Size func() int64 + 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) v1.1.0-beta3 Jun 10, 2016 v1.1.0-beta2 Jun 3, 2016