Versions in this module Expand all Collapse all v1 v1.0.0 Jun 19, 2017 Changes in this version + func APICall(apiURL string, httpMethod string, postData []byte) []byte + func GetEntriesExists(bodyByteGetterFunc BodyByteGetter, urls []string) map[string]bool + func SetConfig(wbgConfig WallabagConfig) + type Annotation struct + AnnotatorSchemaVersion string + CreatedAt WallabagTime + ID int + Quote string + Ranges []Range + Text string + UpdatedAt WallabagTime + type Annotations struct + Rows []Annotation + Total int + func GetAnnotations(bodyByteGetterFunc BodyByteGetter, articleID int) Annotations + type BodyByteGetter func(url string, httpMethod string, postData []byte) []byte + type BodyStringGetter func(url string, httpMethod string, postData []byte) string type Item + Title string + func GetEntry(bodyByteGetterFunc BodyByteGetter, articleID int) Item + type Range struct + End string + EndOffset int + Start string + StartOffset int + type Tag struct + ID int + Label string + Slug string + func GetTags(bodyByteGetterFunc BodyByteGetter) []Tag + func GetTagsOfEntry(bodyByteGetterFunc BodyByteGetter, articleID int) []Tag type WallabagConfig + func NewWallabagConfig(wallabagURL, clientID, clientSecret, userName, userPassword string) WallabagConfig v0 v0.1.0 Mar 6, 2017 Changes in this version + const WallabagTimeLayout + func GetAuthTokenHeader() string + func GetBodyOfAPIURL(url string) []byte + func GetNumberOfArchivedArticles() int + func GetNumberOfStarredArticles() int + func GetNumberOfTotalArticles() int + func PostEntry(url, title, tags string, starred, archive int) + func ReadConfig(configJSON string) (err error) + func Version() string + type Embedded struct + Items []Item + type Entries struct + Embedded Embedded + Limit int + NaviLinks Links + Page int + Pages int + Total int + func GetAllEntries() Entries + func GetEntries(archive int, starred int, sort string, order string, page int, perPage int, ...) Entries + type Item struct + Annotations []interface{} + CreatedAt WallabagTime + DomainName string + ID int + IsArchived int + IsStarred int + Links Links + Mimetype string + ReadingTime int + Tags []interface{} + UpdatedAt WallabagTime + UserEmail string + UserID int + UserName string + type Link struct + Href string + type Links struct + First *Link + Last *Link + Next *Link + Self *Link + type Token struct + AccessToken string + ExpiresIn int + RefreshToken string + Scope string + TokenType string + type WallabagConfig struct + ClientID string + ClientSecret string + UserName string + UserPassword string + WallabagURL string + var Config WallabagConfig + type WallabagTime struct + func (t *WallabagTime) UnmarshalJSON(buf []byte) (err error) Incompatible versions in this module v2.0.0+incompatible Mar 13, 2019