Documentation
¶
Index ¶
- Constants
- func GenSaltPassword(salt, password string) string
- func GetIpv4_192_168() string
- func InStringSlice(slice []string, str string) bool
- func JwtDecode(tokenString, JwtSignKey string) (*jwt.StandardClaims, error)
- func JwtEncode(claims jwt.StandardClaims, JwtSignKey string) (string, error)
- func MD5(s string) string
- func Obj2Json(s interface{}) string
Constants ¶
View Source
const ( Subnetwork_192_168 = "192.168." Subnetwork_10 = "10." Subnetwork_lo // 本地回环子网 127.0.0.1 )
Variables ¶
This section is empty.
Functions ¶
func GenSaltPassword ¶
func GetIpv4_192_168 ¶
func GetIpv4_192_168() string
func InStringSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.