green_extension_uploader

package
v0.0.0-...-bbc24d0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientUploader

type ClientUploader struct {
	GreenClient       *green.Client
	UploadCredentials *uploadCredentials
	Headers           map[string]string
	Prefix            string
}

func GetFileUploaderClient

func GetFileUploaderClient(client *green.Client) (clientUploader *ClientUploader)

func GetImageUploaderClient

func GetImageUploaderClient(client *green.Client) (clientUploader *ClientUploader)

func GetVideoUploaderClient

func GetVideoUploaderClient(client *green.Client) (clientUploader *ClientUploader)

func GetVoiceUploaderClient

func GetVoiceUploaderClient(client *green.Client) (clientUploader *ClientUploader)

func (*ClientUploader) UploadBytes

func (clientUploader *ClientUploader) UploadBytes(dataBytes []byte) (*string, error)

func (*ClientUploader) UploadFile

func (clientUploader *ClientUploader) UploadFile(filepath string) (*string, error)

Jump to

Keyboard shortcuts

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