Documentation
¶
Index ¶
- type ReallyComplex
- func (z *ReallyComplex) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *ReallyComplex) EncodeMsg(en *msgp.Writer) (err error)
- func (z *ReallyComplex) MarshalMsg(b []byte) (o []byte, err error)
- func (z *ReallyComplex) Msgsize() (s int)
- func (z *ReallyComplex) UnmarshalMsg(bts []byte) (o []byte, err error)
- type TotallySimple
- func (z *TotallySimple) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *TotallySimple) EncodeMsg(en *msgp.Writer) (err error)
- func (z *TotallySimple) MarshalMsg(b []byte) (o []byte, err error)
- func (z *TotallySimple) Msgsize() (s int)
- func (z *TotallySimple) UnmarshalMsg(bts []byte) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReallyComplex ¶
type ReallyComplex struct { Caption string `json:"caption"` Credit string `json:"credit"` Crops []struct { Height float64 `json:"height"` Name string `json:"name"` Path string `json:"path" description:"full path to the cropped image file"` RelativePath string `json:"relativePath" description:"a long"` Width float64 `json:"width"` } `json:"crops" description:"The available cropped images"` Cutline string `json:"cutline,omitempty"` DatePhotoTaken time.Time `json:"datePhotoTaken"` Orientation string `json:"orientation"` OriginalSize struct { Height float64 `json:"height"` Width float64 `json:"width"` } `json:"originalSize"` Type string `json:"type" description:"a type"` URL struct { Absolute string `json:"absolute" description:"The full Canonical URL"` Meta struct { Description string `json:"description"` SiteName string `json:"siteName"` } `json:"meta,omitempty"` Publish string `json:"publish"` } `json:"URL" description:"Universal Resource Locator"` }
func (*ReallyComplex) DecodeMsg ¶
func (z *ReallyComplex) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*ReallyComplex) EncodeMsg ¶
func (z *ReallyComplex) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*ReallyComplex) MarshalMsg ¶
func (z *ReallyComplex) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*ReallyComplex) Msgsize ¶
func (z *ReallyComplex) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ReallyComplex) UnmarshalMsg ¶
func (z *ReallyComplex) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type TotallySimple ¶
type TotallySimple struct { Contributors []struct { ContributorId string `json:"contributorId,omitempty"` Id string `json:"id"` Name string `json:"name"` } `json:"contributors,omitempty"` Height int64 `json:"height,omitempty"` SomeDateObj struct { Dates []time.Time `json:"dates,omitempty"` } `json:"someDateObj,omitempty"` Type string `json:"type"` Visible bool `json:"visible,omitempty"` Width float64 `json:"width,omitempty"` }
func (*TotallySimple) DecodeMsg ¶
func (z *TotallySimple) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*TotallySimple) EncodeMsg ¶
func (z *TotallySimple) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*TotallySimple) MarshalMsg ¶
func (z *TotallySimple) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*TotallySimple) Msgsize ¶
func (z *TotallySimple) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*TotallySimple) UnmarshalMsg ¶
func (z *TotallySimple) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
Click to show internal directories.
Click to hide internal directories.