Documentation ¶
Index ¶
- func CheckEmail(email string) bool
- func CheckPassword(password string) bool
- func CheckUserName(userName string) bool
- func CountLine(path string) (count int64, err error)
- func FileIsExist(path string) bool
- func GetFilenameOfPath(fullPath string) string
- func GetFullPath(path string) string
- func GetJsonTime(js []byte) time.Time
- func GetLineInByte(text []byte, s int) (line []byte, i int, err error)
- func GetToken(r *http.Request) string
- func MkDir(path string) error
- func ReadDir(path string) ([]os.FileInfo, error)
- func RemoteIp(req *http.Request) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEmail ¶
func CheckPassword ¶
func CheckUserName ¶
func GetFilenameOfPath ¶
get filename from path. eg /var/www/xx.log -> xx.log
func GetLineInByte ¶
Get a line in []byte.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.