Documentation ¶
Index ¶
- func Account_info() (map[string]interface{}, int)
- func Create_dir(folderpath string) int
- func Delete_file(filepath string) int
- func Get_file(filepath string) ([]byte, int)
- func Get_metadata(path string) (map[string]interface{}, int)
- func Send(newfilepath string, data []byte) int
- func Send_file(filepath string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Account_info ¶
Get the account information of the current user (https://meocloud.pt/documentation#accountinfo)
func Create_dir ¶
creates a directory in the cloud (https://meocloud.pt/documentation#createfolder) returns the status code (200 if successful, 403 if the directory already exists)
func Delete_file ¶
delete a file in the cloud (https://meocloud.pt/documentation#delete) returns the status code (200 on success, 404 if the file does not exist and 406 if many files are deleted)
func Get_file ¶
Get the contents of a file given its path in the cloud (https://meocloud.pt/documentation#files)
func Get_metadata ¶
get the metadata of a file or folder, used of directory listings (https://meocloud.pt/documentation#metadata)
func Send ¶
Send byte array to the cloud (https://meocloud.pt/documentation#files) giving it a name specified in newfilepath returns the status code
func Send_file ¶
send a file to the cloud (https://meocloud.pt/documentation#files)
Types ¶
This section is empty.