Documentation ¶
Index ¶
- Variables
- func ApiJson(v string, data interface{}, e *exception.Exception) []byte
- func ApiJsonp(v string, data interface{}, e *exception.Exception, callback string) []byte
- func CalApiSign(queryValues url.Values, signQueryNames []string, token string) string
- func MongoTestClient() *mongo.Client
- func MysqlTestClient() *mysql.Client
- func PrintComplexObjectForTest(v interface{})
- func RedisTestClient() *redis.Client
- func SendMail(subject, body, from string, to []string) error
- func StructSimpleFieldAssign(sou, dst interface{})
- type ApiData
Constants ¶
This section is empty.
Variables ¶
View Source
var StructSimpleFields map[reflect.Kind]bool = map[reflect.Kind]bool{ reflect.Bool: true, reflect.Int: true, reflect.Int8: true, reflect.Int16: true, reflect.Int32: true, reflect.Int64: true, reflect.Uint: true, reflect.Uint8: true, reflect.Uint16: true, reflect.Uint64: true, reflect.Float32: true, reflect.Float64: true, reflect.String: true, }
Functions ¶
func CalApiSign ¶
func MongoTestClient ¶
func MysqlTestClient ¶
func PrintComplexObjectForTest ¶
func PrintComplexObjectForTest(v interface{})
func RedisTestClient ¶
func StructSimpleFieldAssign ¶
func StructSimpleFieldAssign(sou, dst interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.