nunuxkeeper

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: 4 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 an Nunux Keeper client.

func NewClient

func NewClient(baseURL, apiKey string) *Client

NewClient returns a new Nunux Keeepr client.

func (*Client) AddEntry

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

AddEntry sends an entry to Nunux Keeper.

type Document

type Document struct {
	Title       string `json:"title,omitempty"`
	Origin      string `json:"origin,omitempty"`
	Content     string `json:"content,omitempty"`
	ContentType string `json:"contentType,omitempty"`
}

Document structure of a Nununx Keeper document

Jump to

Keyboard shortcuts

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