Documentation ¶
Index ¶
- func ChangeAccount(uid int64, id string, target string) (err error)
- func CheckCodeWithPhone(phone string, code string) (err error)
- func CheckCodeWithUid(uid int64, code string) (err error)
- func CheckSecret(uid int64, token string) (err error)
- func CreateAccount(secret *authparams.Params) (err error)
- func DecodeToken(token string) (uid int64, pt string, pl int64, nk string, t time.Time, err error)
- func MakeSecret(uid int64) (token string, err error)
- func MakeToken(uid int64, pt string, pl int64, nk string) (token string, err error)
- func QueryAuth(id string, account string) (uid int64, password string, pt string, pl int64, nk string, err error)
- func QueryProcess(uid int64, mp *map[string]string) (err error)
- func SendCodeWithPhone(phone string) (err error)
- func SendCodeWithUid(uid int64) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCodeWithPhone ¶
func CheckCodeWithUid ¶
func CheckSecret ¶
func CreateAccount ¶
func CreateAccount(secret *authparams.Params) (err error)
func DecodeToken ¶
func MakeSecret ¶
func SendCodeWithPhone ¶
func SendCodeWithUid ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.