Documentation
¶
Index ¶
- func ArrayToJsonStr(s []HJson) (string, error)
- func Capitalize(str string) string
- func CheckFileIsExist(filename string) bool
- func CloseMyFile(f *os.File)
- func CopyByteToSlice(ary []byte, i byte)
- func CopyFloat32ToSlice(ary []byte, f float32)
- func CopyFloat64ToSlice(ary []byte, f float64)
- func CopyInt16ToSlice(ary []byte, i int16)
- func CopyInt32ToSlice(ary []byte, i int32)
- func CopyInt64ToSlice(ary []byte, i int64)
- func FreeUdpLog(log *UdpLog)
- func GbkToUtf8(strGbk string) string
- func GetExeMem(pid int) int
- func GetExecutePath() string
- func GetJsonArray(json HJson, key string) []interface{}
- func GetJsonFloat(json HJson, key string, default_value float64) float64
- func GetJsonInt(json HJson, key string, default_value int) int
- func GetJsonStr(json HJson, key string, default_value string) string
- func GetMd5String1(str string) string
- func GetMd5String2(b []byte) string
- func GetMyMac() string
- func GetTime() int64
- func HJsonToStr(tempMap HJson) (string, error)
- func InetAddr(ip string) int
- func InetNtoA(ip int32) string
- func Int2Byte(data int) [4]byte
- func MAX(a, b int) int
- func MIN(a, b int) int
- func OpenMyFile(filename string) *os.File
- func ParseByteFromSlice(ary []byte, start int, default_val byte) byte
- func ParseFloat32FromSlice(ary []byte, start int, default_val float32) float32
- func ParseFloat64FromSlice(ary []byte, start int, default_val float64) float64
- func ParseInt16FromSlice(ary []byte, start int, default_val int16) int16
- func ParseInt32FromSlice(ary []byte, start int, default_val int32) int32
- func ParseInt64FromSlice(ary []byte, start int, default_val int64) int64
- func ParseIntFromSlice(ary []byte, start int, default_val int) int
- func ParseStringFromSlice(ary []byte, start int, count int) string
- func ReadDataFromFile(buf []byte, f *os.File) int
- func Redirect(w http.ResponseWriter, req *http.Request, url string)
- func ReplaceAllBlank(str string) string
- func ReverseString(s string) string
- func SaveDataToFile(data []byte, f *os.File) (int, error)
- func SetCommandStd(cmd *exec.Cmd) (stdout, stderr *bytes.Buffer)
- func SplitString(str string, sep string) []string
- func ToJsonString(json HJson) string
- func TrimMyStr(str string) string
- func Utf8ToGbk(strUtf8 string) string
- type Exe_Info
- type HJson
- type UdpLog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseMyFile ¶
func CopyByteToSlice ¶
func CopyFloat32ToSlice ¶
func CopyFloat64ToSlice ¶
func CopyInt16ToSlice ¶
func CopyInt32ToSlice ¶
func CopyInt64ToSlice ¶
func FreeUdpLog ¶
func FreeUdpLog(log *UdpLog)
func GetExecutePath ¶
func GetExecutePath() string
func GetJsonArray ¶
func ParseFloat32FromSlice ¶
func ParseFloat64FromSlice ¶
func ReplaceAllBlank ¶
func SplitString ¶
func ToJsonString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.