Documentation ¶
Index ¶
- func AppSignature_MD5(appid, appkey string, params map[string]string) string
- func Base64ToImg(datasource string, dirpath string) string
- func Build_QRFile(qurl string, dirstr string) string
- func Byte2str(postdata []map[string][]byte) []map[string]interface{}
- func CheckProRunning(serverName string) (bool, error)
- func Check_array_in(val string, data []string) bool
- func ConvertNumToCny(num float64) string
- func CopyFile(srcFile, dstFile string) (int64, error)
- func DataToStruct(data map[string]string, out interface{})
- func Down_http_file(data map[string]string)
- func Eval(code string, imports ...string) (result string, err error)
- func FilteredSQLInject(to_match_str string) bool
- func GetBase64FromFile(filename string) (string, error)
- func GetPid(serverName string) (string, error)
- func GetRangStr(fw int) string
- func GetYearMonthToDay(year int, month int) int
- func Get_FIle_Size(path string) int64
- func Get_Save_FileName(filestr, dirstr string) string
- func Get_UUID() string
- func Get_Upload_filename(filestr, dirstr string) string
- func Getini(config_file, action string, post_data map[string]string) map[string]string
- func Has_map_index(name string, data map[string]interface{}) bool
- func ImageResetSize(filename string)
- func Int2Date_str(date int64) string
- func Int2Time_str(date int64) string
- func Int64toint(val int64) int
- func IsExist(path string) bool
- func Map2Xml(params map[string]string) string
- func Map2str(postdata map[string]interface{}) map[string]string
- func MapString2interface(data map[string]string) map[string]interface{}
- func PathExists(dirpath string) bool
- func RandomStr(length int) string
- func ReadStringFile(filename string) string
- func RunCommand(cmd string) (string, error)
- func SaveBase64ToFile(bs64, filename string) error
- func SendToMail(user, password, host, to, subject, body, mailtype string) error
- func Send_mail_public(title, mailto, mailbody string) int
- func Shell_linux_Command(cmdstr string) (string, error)
- func Shell_linux_exec(cmdstr string) error
- func Shell_win_exec(cmdstr string)
- func Signature_MD5(appid, appkey string, params map[string]string) string
- func Signature_sha1(appid, appkey string, params map[string]string) string
- func String2Time(date string) int64
- func Struct2Map(obj interface{}) map[string]interface{}
- func ToUP_map_name(name string) string
- func Tolow_map_name(name string) string
- func Type2str(val interface{}) string
- func Upload_File(r *http.Request, uploadfile string) []string
- func Upload_post_web_file(r *http.Request) ([]string, []string)
- func Upload_web_file(r *http.Request) []string
- func WriteStringFile(filename, memo string) error
- func Xml2Map(in interface{}) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppSignature_MD5 ¶
func Build_QRFile ¶
func ConvertNumToCny ¶
func Down_http_file ¶
func FilteredSQLInject ¶
func GetBase64FromFile ¶
func GetRangStr ¶
func GetYearMonthToDay ¶
func Get_Save_FileName ¶
func Get_Upload_filename ¶
func Has_map_index ¶
func ImageResetSize ¶
func ImageResetSize(filename string)
func Int2Date_str ¶
func Int2Time_str ¶
func Int64toint ¶
func MapString2interface ¶
func PathExists ¶
func ReadStringFile ¶
func RunCommand ¶
func SaveBase64ToFile ¶
func SendToMail ¶
func Send_mail_public ¶
func Shell_linux_Command ¶
func Shell_linux_exec ¶
func Shell_win_exec ¶
func Shell_win_exec(cmdstr string)
func String2Time ¶
func Upload_web_file ¶
func WriteStringFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.