Documentation ¶
Index ¶
- Variables
- func BaiduTop(url string) ([]string, error)
- func Base64decode(in string) (string, error)
- func Base64encode(in string) string
- func CacheIsExist(key string) bool
- func CheckStringIsExist(source string, check []string) bool
- func ConvertToString(src string, srcCode string, tagCode string) string
- func CronSaveAllBaiduTop()
- func GetAllBaiduTop() (map[string]interface{}, error)
- func GetCache(key string) (interface{}, error)
- func GetCacheConnId() (cache.Cache, error)
- func GetHttpData(url string) (string, error)
- func Init()
- func IsCodeRe(b string) bool
- func IsEmailRe(b string) bool
- func IsIpv4Re(b string) bool
- func IsUrlRe(b string) bool
- func Md5(buf []byte) string
- func Md5str(s string) string
- func PathExists(path string) (bool, error)
- func RemoveDuplicatesAndEmpty(a []string) (ret []string)
- func SendMail(tomail string, subject string, conent string)
- func SetCache(key string, val interface{}, timeout time.Duration) error
- func SizeFormat(size float64) string
- func TrimHtml(src string) string
- type Pager
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BAIDU_KEY = "baidu_top_key"
)
Functions ¶
func Base64decode ¶
func Base64encode ¶
func CacheIsExist ¶
func CheckStringIsExist ¶
func CronSaveAllBaiduTop ¶
func CronSaveAllBaiduTop()
func GetAllBaiduTop ¶
func GetCacheConnId ¶
func GetHttpData ¶
func PathExists ¶
func SizeFormat ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.