Documentation
¶
Index ¶
- func CheckError(err error)
- func CreateMd5Hash(data string) string
- func FileExists(path string) (bool, error)
- func HttpDelete(url string) []byte
- func HttpGet(url string) []byte
- func HttpPost(url string, data string, content_type string) []byte
- func HttpPut(url string, data string, content_type string) ([]byte, error)
- type ApiResponse
- type ApiResponseError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckError(err error)
func CreateMd5Hash ¶
func FileExists ¶
func HttpDelete ¶
Types ¶
type ApiResponse ¶
type ApiResponse struct { Success map[string]interface{} `json:"success,omitempty"` Error ApiResponseError `json:"error,omitempty"` }
type ApiResponseError ¶
Click to show internal directories.
Click to hide internal directories.