cat

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteCatImage

func DeleteCatImage(id string) error

Types

type CatImage

type CatImage struct {
	ID     string `json:"id"`
	Url    string `json:"url"`
	Width  int    `json:"width"`
	Height int    `json:"height"`
}

func GetCatImage

func GetCatImage(id string) (*CatImage, error)

func GetCatImages

func GetCatImages(count int) ([]CatImage, error)

func GetMyCatImages

func GetMyCatImages() ([]CatImage, error)

func UploadCatImage

func UploadCatImage(filename string) (*CatImage, error)

func (*CatImage) Info

func (c *CatImage) Info() string

Jump to

Keyboard shortcuts

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