Documentation ¶
Index ¶
- Variables
- func CreateClient(accessKeyId *string, accessKeySecret *string) (client *dysmsapi20170525.Client, err error)
- func Delete(url string) (err error)
- func GeneratePicCaptcha() (id, b64s string, err error)
- func GenerateSmsCaptcha(length int) string
- func GenerateUUID() string
- func GetFreePort() (int, error)
- func GetTodayZeroTime() int64
- func ParsePageAndPageSize(page, pageSize string) (p, pSize int)
- func SendSms(mobile string) (captcha string, err error)
- func Upload(data []byte, size int64, suffix string) (url string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Store = base64Captcha.DefaultMemStore
Functions ¶
func CreateClient ¶
func CreateClient(accessKeyId *string, accessKeySecret *string) (client *dysmsapi20170525.Client, err error)
func GeneratePicCaptcha ¶
func GenerateSmsCaptcha ¶
func GenerateUUID ¶
func GenerateUUID() string
func GetFreePort ¶
func GetTodayZeroTime ¶
func GetTodayZeroTime() int64
func ParsePageAndPageSize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.