raindrop

package
v0.0.0-...-88af1a3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Raindrop

type Raindrop struct {
	Id         int `json:"_id"` // The id of the Collection
	Collection RaindropCollection

	Cover      string // Cover URL
	Created    string // when the raindrop was created
	Domain     string // hostname of a link. Files always have raindrop.io hostname
	Excerpt    string // description
	LastUpdate string // When the raindrop was updated
	Link       string // url
	Media      []RaindropMedia
	Tags       []string // tags list
	Title      string   // Name of the collection
	Type       string   // link article image video document or audio
	User       collection.User
}

func GetRaindrop

func GetRaindrop(id string) (Raindrop, error)

func GetRaindrops

func GetRaindrops(search string) ([]Raindrop, error)

type RaindropCollection

type RaindropCollection struct {
	// id of the collection the raindrop resides in
	Id int `json:"$id"`
}

type RaindropMedia

type RaindropMedia struct {
	Link string // url of cover
}

Jump to

Keyboard shortcuts

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