Versions in this module Expand all Collapse all v6 v6.0.6 Dec 13, 2020 v6.0.5 Dec 13, 2020 v6.0.4 Dec 13, 2020 v6.0.3 Dec 13, 2020 v6.0.2 Dec 12, 2020 Changes in this version + const WallabagTimeLayout + func APICall(apiURL string, httpMethod string, postData []byte) ([]byte, error) + func AddEntryTags(entry int, tags ...string) error + func DeleteEntryTag(entry int, tag int) error + func ExportEntry(bodyByteGetterFunc BodyByteGetter, articleID int, format string) ([]byte, error) + func GetAuthTokenHeader() (string, error) + func GetEntriesExists(bodyByteGetterFunc BodyByteGetter, urls []string) (map[string]bool, error) + func GetNumberOfArchivedArticles() (int, error) + func GetNumberOfStarredArticles() (int, error) + func GetNumberOfTotalArticles() (int, error) + func PostEntry(url, title, tags string, starred, archive int) error + func ReadConfig(configJSON string) (err error) + func SetConfig(wbgConfig WallabagConfig) + func Version(bodyStringGetterFunc BodyStringGetter) (string, error) + func WallabagTimeToTime(t WallabagTime) (time.Time, error) + 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, error) + type BodyByteGetter func(url string, httpMethod string, postData []byte) ([]byte, error) + type BodyStringGetter func(url string, httpMethod string, postData []byte) (string, error) + type Embedded struct + Items []Item + type Entries struct + Embedded Embedded + Limit int + NaviLinks Links + Page int + Pages int + Total int + func GetEntries(bodyByteGetterFunc BodyByteGetter, archive int, starred int, sort string, ...) (Entries, error) + type Item struct + Annotations []Annotation + ArchivedAt WallabagTime + Content string + CreatedAt WallabagTime + DomainName string + GivenURL string + HashedGivenURL string + HashedURL string + ID int + IsArchived int + IsPublic bool + IsStarred int + Language string + Links Links + Mimetype string + OriginURL string + PreviewPicture string + PublishedAt WallabagTime + PublishedBy string + ReadingTime int + StarredAt WallabagTime + Tags []Tag + Title string + UID string + URL string + UpdatedAt WallabagTime + UserEmail string + UserID int + UserName string + func GetAllEntries() ([]Item, error) + func GetEntry(bodyByteGetterFunc BodyByteGetter, articleID int) (Item, error) + type Link struct + Href string + type Links struct + First *Link + Last *Link + Next *Link + Self *Link + type Range struct + End string + EndOffset interface{} + Start string + StartOffset interface{} + type Tag struct + ID int + Label string + Slug string + func GetTags(bodyByteGetterFunc BodyByteGetter) ([]Tag, error) + func GetTagsOfEntry(bodyByteGetterFunc BodyByteGetter, articleID int) ([]Tag, error) + type Token struct + AccessToken string + ExpirationTime time.Time + RefreshToken string + Scope string + TokenType string + type WallabagConfig struct + ClientID string + ClientSecret string + UserName string + UserPassword string + WallabagURL string + var Config WallabagConfig + func NewWallabagConfig(wallabagURL, clientID, clientSecret, userName, userPassword string) WallabagConfig + type WallabagTime struct + func (t *WallabagTime) UnmarshalJSON(buf []byte) (err error) Other modules containing this package github.com/Strubbl/wallabago github.com/Strubbl/wallabago/v7 github.com/Strubbl/wallabago/v8 github.com/Strubbl/wallabago/v9