Documentation
¶
Index ¶
- func Hash(data []byte) string
- func MapMatch(pattern map[string]string, data map[string]string) int
- func RSAPublickDecrypt(pubKey *rsa.PublicKey, data []byte) []byte
- func RSAPublickDecryptEasy(key, data []byte) ([]byte, error)
- func Random(n int) string
- func SimpleMatch(pattern, s string) bool
- func SimpleMatchScore(pattern, s string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RSAPublickDecryptEasy ¶
func SimpleMatch ¶
func SimpleMatchScore ¶
字符串匹配, 返回匹配的分值 - 精准匹配: 2分 - 模糊匹配: 1分 - 不匹配: 0分
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.