client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	Type        string
	Content     string
	Title       string
	Description string
	Tags        []string
	Folder      string
	API         string
}

func (*Link) Submit

func (l *Link) Submit(verbose bool) (*string, error)

type Memo

type Memo struct {
	Type    string
	Content string
	Tags    []string
	Folder  string
	API     string
}

func (*Memo) Submit

func (m *Memo) Submit(verbose bool) (*string, error)

type Payload

type Payload struct {
	Type        string   `json:"type"`
	Content     string   `json:"content"`
	Title       string   `json:"title,omitempty"`
	Description string   `json:"description,omitempty"`
	Tags        []string `json:"tags,omitempty"`
	Folder      string   `json:"folder,omitempty"`
}

type ResponseError

type ResponseError struct {
	Err        error
	StatusCode int
}

func (*ResponseError) Error

func (r *ResponseError) Error() string

Jump to

Keyboard shortcuts

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