freeimage

package
v0.0.0-...-5503436 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	api.Specification `www:"https://freeimage.host"`

	Upload func(context.Context, Data) (Upload, error) `rest:"POST(multipart/form-data) /api/1/upload image"`
}

type Data

type Data struct {
	Key    string `json:"key"`
	Action string `json:"action"`
	Source string `json:"source"`
	Format string `json:"format,omitempty"`
}

type Upload

type Upload struct {
	Image struct {
		URL string `json:"url"`
	}
}

Jump to

Keyboard shortcuts

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