Documentation ¶
Overview ¶
package model contains all the required models for commands
Index ¶
- type Cauthor
- type Ccategory
- type CcreatedAt
- type Cdisqus
- type Cemail
- type Cforum
- type Cid
- type CipAddress
- type CisAnonymous
- type CisClosed
- type CisDefault
- type CisDeleted
- type CisSpam
- type Clink
- type Cmessage
- type Cname
- type Comment
- type Cparent
- type Cpost
- type Cthread
- type Ctitle
- type Cusername
- type Thread
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ccategory ¶
type Ccategory struct { XMLName xml.Name `xml:"category,omitempty" json:"category,omitempty"` AttrDsqSpaceid string `xml:"http://disqus.com/disqus-internals id,attr" json:",omitempty"` Cforum *Cforum `xml:"http://disqus.com forum,omitempty" json:"forum,omitempty"` CisDefault *CisDefault `xml:"http://disqus.com isDefault,omitempty" json:"isDefault,omitempty"` Ctitle *Ctitle `xml:"http://disqus.com title,omitempty" json:"title,omitempty"` }
type CcreatedAt ¶
type Cdisqus ¶
type Cdisqus struct { XMLName xml.Name `xml:"disqus,omitempty" json:"disqus,omitempty"` AttrXmlnsdsq string `xml:"xmlns dsq,attr" json:",omitempty"` AttrXsiSpaceschemaLocation string `xml:"http://www.w3.org/2001/XMLSchema-instance schemaLocation,attr" json:",omitempty"` Attrxmlns string `xml:"xmlns,attr" json:",omitempty"` AttrXmlnsxsi string `xml:"xmlns xsi,attr" json:",omitempty"` Ccategory *Ccategory `xml:"http://disqus.com category,omitempty" json:"category,omitempty"` Cpost []*Cpost `xml:"http://disqus.com post,omitempty" json:"post,omitempty"` Cthread []*Cthread `xml:"http://disqus.com thread,omitempty" json:"thread,omitempty"` }
type CipAddress ¶
type CisAnonymous ¶
type CisDefault ¶
type CisDeleted ¶
type Comment ¶
type Comment struct { Id int `db:"id"` Tid int `db:"tid"` Parent *int `db:"parent"` Created float64 `db:"created"` Modified *float64 `db:"modified"` Mode *int `db:"mode"` RemoteAddress *string `db:"remote_addr"` Text *string `db:"text"` Author *string `db:"author"` Email *string `db:"email"` Website *string `db:"website"` Likes int `db:"likes"` Dislikes int `db:"dislikes"` Voters []byte `db:"voters"` }
Comment represents an isso commenting comment
type Cpost ¶
type Cpost struct { XMLName xml.Name `xml:"post,omitempty" json:"post,omitempty"` AttrDsqSpaceid string `xml:"http://disqus.com/disqus-internals id,attr" json:",omitempty"` CcreatedAt *CcreatedAt `xml:"http://disqus.com createdAt,omitempty" json:"createdAt,omitempty"` Cid *Cid `xml:"http://disqus.com id,omitempty" json:"id,omitempty"` CipAddress *CipAddress `xml:"http://disqus.com ipAddress,omitempty" json:"ipAddress,omitempty"` CisDeleted *CisDeleted `xml:"http://disqus.com isDeleted,omitempty" json:"isDeleted,omitempty"` CisSpam *CisSpam `xml:"http://disqus.com isSpam,omitempty" json:"isSpam,omitempty"` Cmessage *Cmessage `xml:"http://disqus.com message,omitempty" json:"message,omitempty"` Cparent *Cparent `xml:"http://disqus.com parent,omitempty" json:"parent,omitempty"` Cthread []*Cthread `xml:"http://disqus.com thread,omitempty" json:"thread,omitempty"` }
type Cthread ¶
type Cthread struct { XMLName xml.Name `xml:"thread,omitempty" json:"thread,omitempty"` AttrDsqSpaceid string `xml:"http://disqus.com/disqus-internals id,attr" json:",omitempty"` Ccategory *Ccategory `xml:"http://disqus.com category,omitempty" json:"category,omitempty"` CcreatedAt *CcreatedAt `xml:"http://disqus.com createdAt,omitempty" json:"createdAt,omitempty"` Cforum *Cforum `xml:"http://disqus.com forum,omitempty" json:"forum,omitempty"` Cid *Cid `xml:"http://disqus.com id,omitempty" json:"id,omitempty"` CipAddress *CipAddress `xml:"http://disqus.com ipAddress,omitempty" json:"ipAddress,omitempty"` CisClosed *CisClosed `xml:"http://disqus.com isClosed,omitempty" json:"isClosed,omitempty"` CisDeleted *CisDeleted `xml:"http://disqus.com isDeleted,omitempty" json:"isDeleted,omitempty"` Clink *Clink `xml:"http://disqus.com link,omitempty" json:"link,omitempty"` Cmessage *Cmessage `xml:"http://disqus.com message,omitempty" json:"message,omitempty"` Ctitle *Ctitle `xml:"http://disqus.com title,omitempty" json:"title,omitempty"` }
Click to show internal directories.
Click to hide internal directories.