model

package
v0.0.0-...-373972f Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddNotesInput

type AddNotesInput struct {
	Name  string `json:"name"`
	Notes string `json:"notes"`
}

type DeletePhotoInput

type DeletePhotoInput struct {
	Name string `json:"name"`
}

type DownloadPhotoInput

type DownloadPhotoInput struct {
	URL      string  `json:"url"`
	Referrer *string `json:"referrer"`
}

type Photo

type Photo struct {
	Name    string   `json:"name"`
	Notes   *string  `json:"notes"`
	Tags    []string `json:"tags"`
	Updated int      `json:"updated"`
	Deleted bool     `json:"deleted"`
}

type TagPhotoInput

type TagPhotoInput struct {
	Name string `json:"name"`
	Tag  string `json:"tag"`
}

type UploadPhotoInput

type UploadPhotoInput struct {
	B64data string `json:"b64data"`
}

Jump to

Keyboard shortcuts

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