Documentation ¶
Index ¶
- func Decode(src string) (dst string)
- func Encode(src string) (dst string)
- func GetMD5(str string) string
- func ParseBeijingTime(layout, value string) int64
- func ParseFloat(src string) float64
- func ParseInt(src string) int
- func ParseInt32(src string) int32
- func PostSome(url string, token string, req, res interface{}) error
- func PrintStack(skip int)
- func RunTinyGateway(port int, ...) error
- func SendMail(user, password, host, to, subject, content string) error
- func StringFromGBK(src string) (dst string)
- func StringFromGBK2(src []byte) (dst string)
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTinyGateway ¶
func RunTinyGateway(port int, h func(string, http.ResponseWriter, *http.Request) (interface{}, error)) error
RunTinyGateway 小API入口
Types ¶
Click to show internal directories.
Click to hide internal directories.