Documentation ¶
Index ¶
- Constants
- func AddMember(account, password string) error
- func Asset(p string, cdn string) string
- func AutoSummary(body string, l int) string
- func Decode(value string, r interface{}) error
- func Encode(value interface{}) (string, error)
- func JoinURI(elem ...string) string
- func Krand(size int, kind int) []byte
- func ModifyPassword(account, old_password, new_password string) error
- func PasswordHash(pass string) (string, error)
- func PasswordVerify(hashing string, pass string) (bool, error)
- func SafetyProcessor(html string) string
- func StripTags(s string) string
- func ValidLDAPLogin(password string) (result bool, err error)
Constants ¶
View Source
const ( KC_RAND_KIND_NUM = 0 // 纯数字 KC_RAND_KIND_LOWER = 1 // 小写字母 KC_RAND_KIND_UPPER = 2 // 大写字母 KC_RAND_KIND_ALL = 3 // 数字、大小写字母 )
Variables ¶
This section is empty.
Functions ¶
func ModifyPassword ¶ added in v0.5.1
func SafetyProcessor ¶ added in v1.0.1
安全处理HTML文档,过滤危险标签和属性.
func ValidLDAPLogin ¶ added in v0.5.1
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package wkhtmltopdf contains wrappers around the wkhtmltopdf commandline tool
|
Package wkhtmltopdf contains wrappers around the wkhtmltopdf commandline tool |
Click to show internal directories.
Click to hide internal directories.