e3

package
v0.0.0-...-c896b06 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultURL = "https://e3.evanjon.es/api"

Variables

This section is empty.

Functions

This section is empty.

Types

type E3

type E3 struct {
	// contains filtered or unexported fields
}

func New

func New(user, pass, url string) *E3

func WithClient

func WithClient(user, pass, url string, client *http.Client) *E3

func (*E3) Proxy

func (e3 *E3) Proxy(ctx context.Context, objectURL string) ([]byte, error)

func (*E3) URL

func (e3 *E3) URL() string

func (*E3) Upload

func (e3 *E3) Upload(ctx context.Context, public bool, filename string, file io.Reader) (string, error)

Jump to

Keyboard shortcuts

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