image

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageAPI

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

func NewImageAPI

func NewImageAPI(endPoint string) *ImageAPI

func (*ImageAPI) UploadFromB64Encode added in v1.0.9

func (p *ImageAPI) UploadFromB64Encode(data string, accessToken string) (*model.Image, error)

func (*ImageAPI) UploadFromFile

func (p *ImageAPI) UploadFromFile(filePath string, accessToken string) (*model.Image, error)

func (*ImageAPI) UploadFromUri

func (p *ImageAPI) UploadFromUri(imageUri string, accessToken string) (*model.Image, error)

Jump to

Keyboard shortcuts

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