wallabag

package
v1.0.46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client represents a Wallabag client.

func NewClient

func NewClient(baseURL, clientID, clientSecret, username, password string, onlyURL bool) *Client

NewClient returns a new Wallabag client.

func (*Client) AddEntry

func (c *Client) AddEntry(link, title, content string) error

AddEntry sends a link to Wallabag. Pass an empty string in `content` to let Wallabag fetch the article content.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL