Versions in this module Expand all Collapse all v9 v9.0.8 Dec 4, 2024 v9.0.7 Nov 11, 2024 v9.0.6 Oct 7, 2024 v9.0.5 Sep 4, 2024 v9.0.4 Aug 8, 2024 v9.0.3 Jun 5, 2024 v9.0.2 May 6, 2024 v9.0.1 Feb 7, 2024 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) + type Annotation struct + AnnotatorSchemaVersion string + CreatedAt WallabagTime + ID int + Quote string + Ranges []Range + Text string + UpdatedAt WallabagTime + User string + 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 Configuration struct + ActionMarkAsRead int + DisplayThumbnails int + FeedLimit int + FeedToken string + ID int + ItemsPerPage int + Language string + ListMode int + ReadingSpeed float64 + func Config(bodyByteGetterFunc BodyByteGetter) (Configuration, 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 Information struct + AllowedRegistration bool + Appname string + Version string + func Info(bodyByteGetterFunc BodyByteGetter) (Information, 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 GetAllEntriesWithAnnotations(since int, sort string, order string) ([]Item, error) + func GetAllEntriesWithAnnotationsSince(since int) ([]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 LoggedInUser struct + CreatedAt *WallabagTime + Email string + ID int + UpdatedAt *WallabagTime + UserName string + func User(bodyByteGetterFunc BodyByteGetter) (LoggedInUser, error) + 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 LibConfig WallabagConfig + func NewWallabagConfig(wallabagURL, clientID, clientSecret, userName, userPassword string) WallabagConfig + type WallabagTime struct + func (t *WallabagTime) MarshalJSON() ([]byte, error) + func (t *WallabagTime) UnmarshalJSON(buf []byte) (err error) + func (t1 *WallabagTime) Equal(t2 *WallabagTime) bool Other modules containing this package github.com/Strubbl/wallabago github.com/Strubbl/wallabago/v6 github.com/Strubbl/wallabago/v7 github.com/Strubbl/wallabago/v8