Documentation
¶
Index ¶
- func GetUUID(text string) string
- type AggregatorItem
- type Author
- type Card
- type Config
- type Custom
- type DeleteList
- type Doc
- type DocID
- type Feed
- type Folder
- type FoldersResponse
- type MastodonConfig
- type Media
- type MediaSize
- type More
- type RssConfig
- type Source
- type Sub
- type SubsResponse
- type Timeline
- type Toc
- type TocRow
- type TocSubRow
- type TwitterConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AggregatorItem ¶
type Config ¶
type Config struct { DBPath string `env:"DB_FILE" envDefault:"./empty.db"` Addr string `env:"ADDR" envDefault:":8080"` Username string `env:"USERNAME,required"` Password string `env:"PASSWORD,required,unset"` Mastodon MastodonConfig `envPrefix:"TOOT_"` Twitter TwitterConfig `envPrefix:"TW_"` Rss RssConfig `envPrefix:"RSS_"` NoPolling bool `env:"NO_POLLING"` Debug bool `env:"DEBUG"` }
type DeleteList ¶
type DeleteList struct {
Docs []*DocID `json:"docs"`
}
type Doc ¶
type Doc struct { ID string `json:"doc_id,omitempty"` Type string `json:"type"` Kind string `json:"kind"` Skey string `json:"skey"` SID string `json:"sid"` URL string `json:"url"` Feed *Feed `json:"feed"` Source *Source `json:"source"` Title string `json:"title"` Content string `json:"content"` Medias []*Media `json:"medias,omitempty"` Card *Card `json:"card,omitempty"` Author *Author `json:"author,omitempty"` CreatedAt int64 `json:"created_at"` Custom *Custom `json:"custom"` Published int64 `json:"published"` IsRepost bool `json:"is_repost,omitempty"` IsFollowedTag bool `json:"is_followed_tag,omitempty"` }
type Folder ¶ added in v0.3.0
type FoldersResponse ¶ added in v0.3.0
type MastodonConfig ¶
type Sub ¶
type Sub struct { ID int `json:"id,omitempty"` Type string `json:"type"` Kind string `json:"kind"` Fkey string `json:"fkey"` Skey string `json:"skey"` Title string `json:"title"` URL string `json:"url"` Links []*string `json:"links"` LastChecked time.Time `json:"last_checked"` ETag string `json:"etag"` LastModified string `json:"last_modified"` }
type SubsResponse ¶
Click to show internal directories.
Click to hide internal directories.