Documentation ¶
Index ¶
- type ClientUploader
- func GetFileUploaderClient(client *green.Client) (clientUploader *ClientUploader)
- func GetImageUploaderClient(client *green.Client) (clientUploader *ClientUploader)
- func GetVideoUploaderClient(client *green.Client) (clientUploader *ClientUploader)
- func GetVoiceUploaderClient(client *green.Client) (clientUploader *ClientUploader)
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)
Click to show internal directories.
Click to hide internal directories.