upload

package
v0.0.0-...-1974f2b Latest Latest
Warning

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

Go to latest
Published: May 22, 2016 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UploadImage

func UploadImage(img *image.Image, uploader ImageUploader) (bool, error)

Types

type ImageUploader

type ImageUploader interface {
	Upload(img *image.Image) (bool, error)
}

type ImgurUploader

type ImgurUploader struct {
	ClientId string
}

func (ImgurUploader) Upload

func (u ImgurUploader) Upload(img *image.Image) (bool, error)

Jump to

Keyboard shortcuts

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