Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseModel ¶
func (*CloseModel) Toggle ¶
func (i *CloseModel) Toggle() (err error)
Toggle will change the thread status
type DeleteImageTagModel ¶
func (*DeleteImageTagModel) Delete ¶
func (i *DeleteImageTagModel) Delete() (err error)
Delete will remove the entry
func (*DeleteImageTagModel) IsValid ¶
func (d *DeleteImageTagModel) IsValid() bool
check struct validity
func (*DeleteImageTagModel) Status ¶
func (i *DeleteImageTagModel) Status() (err error)
Status will return info
type DeletePostModel ¶
func (*DeletePostModel) Delete ¶
func (i *DeletePostModel) Delete() (err error)
Delete will remove the entry
func (*DeletePostModel) Status ¶
func (i *DeletePostModel) Status() (err error)
Status will return info
type DeleteTagModel ¶
func (*DeleteTagModel) Delete ¶
func (i *DeleteTagModel) Delete() (err error)
Delete will remove the entry
func (*DeleteTagModel) Status ¶
func (i *DeleteTagModel) Status() (err error)
Status will return info
type DeleteThreadModel ¶
func (*DeleteThreadModel) Delete ¶
func (i *DeleteThreadModel) Delete() (err error)
Delete will remove the entry
func (*DeleteThreadModel) IsValid ¶
func (d *DeleteThreadModel) IsValid() bool
check struct validity
func (*DeleteThreadModel) Status ¶
func (i *DeleteThreadModel) Status() (err error)
Status will return info
type PurgePostModel ¶
func (*PurgePostModel) Delete ¶
func (i *PurgePostModel) Delete() (err error)
Delete will remove the entry
func (*PurgePostModel) Status ¶
func (i *PurgePostModel) Status() (err error)
Status will return info
type PurgeThreadModel ¶
func (*PurgeThreadModel) Delete ¶
func (i *PurgeThreadModel) Delete() (err error)
Delete will remove the entry
func (*PurgeThreadModel) Status ¶
func (i *PurgeThreadModel) Status() (err error)
Status will return info
type StatisticsModel ¶
type StatisticsModel struct { Ib uint Result StatisticsType }
NewModel holds the parameters from the request and also the key for the cache
func (*StatisticsModel) Get ¶
func (i *StatisticsModel) Get() (err error)
Get will gather the information from the database and return it as JSON serialized data
type StatisticsType ¶
type StickyModel ¶
func (*StickyModel) Toggle ¶
func (i *StickyModel) Toggle() (err error)
Toggle will change the thread status
type ThreadImages ¶
type UpdateTagModel ¶
func (*UpdateTagModel) Status ¶
func (i *UpdateTagModel) Status() (err error)
Status will return info
func (*UpdateTagModel) Update ¶
func (i *UpdateTagModel) Update() (err error)
Update will update the entry
func (*UpdateTagModel) ValidateInput ¶
func (i *UpdateTagModel) ValidateInput() (err error)