Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadBookmark ¶
func DownloadBookmark(url string) (io.ReadCloser, string, error)
DownloadBookmark downloads bookmarked page from specified URL. Return response body, make sure to close it later.
func ProcessBookmark ¶
func ProcessBookmark(req ProcessRequest) (model.Bookmark, bool, error)
ProcessBookmark process the bookmark and archive it if needed. Return three values, the bookmark itself, is error fatal, and error value.
func RemoveUTMParams ¶
RemoveUTMParams removes the UTM parameters from URL.
Types ¶
Click to show internal directories.
Click to hide internal directories.