Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) Collect ¶
Collect performs a single collection of timeline for the provided tags and imports it to the database configured on the collector. It returns an error returned by the server or nil if successful.
func (*Collector) Report ¶
Report generates a list of posts matching one or more of the provided tagNames. It returns an error if the underlying SQL query fails.
type Status ¶
type Status struct { ID string `json:"-"` URI string `json:"uri" db:"uri" ` Language string `json:"lang" db:"lang"` Content string `json:"content"` TagList tagList `json:"tag_list" db:"tag_list"` CreatedAt sqliteDatetime `json:"created_at" db:"created_at"` }
Status is a condensed representation of mastodon.Status
Click to show internal directories.
Click to hide internal directories.