Documentation ¶
Index ¶
- func CheckFileExist(filePath string) bool
- func CleanPath(filePath string) string
- func Compress() error
- func CopyFile(destinationFile, sourceFile string) bool
- func CreateWriter(fileName string) (*multipart.Writer, *bytes.Buffer)
- func Decrypt(base64Encoded string) *bytes.Buffer
- func Epoch(epoch int64) time.Time
- func HttpRequest(method, url string, body *bytes.Buffer, httpHeaders map[string]string) *http.Response
- func ReadBody(res *http.Response) []byte
- func WriteJSON(fileName string, data interface{}) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFileExist ¶
func HttpRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.