Documentation
¶
Index ¶
- Variables
- func AesDecryptCBC(enc string, key []byte) (string, error)
- func AesEncryptCBC(origData []byte, key []byte) string
- func CheckIp(ip string) bool
- func Md5(str []byte) []byte
- func ReleaseToken(id uint) (token string, err error)
- func Sendsms(phone string) (captcha string, err error)
- func Verify(v verifyImpl) (isVerify bool)
- func VerifyMobileFormat(mobileNum string) bool
- type Claims
- type SftpClient
Constants ¶
This section is empty.
Variables ¶
View Source
var Client clients
Functions ¶
func AesEncryptCBC ¶
func ReleaseToken ¶
func VerifyMobileFormat ¶
Types ¶
type SftpClient ¶
func (*SftpClient) ReceiveWsMsg ¶
func (c *SftpClient) ReceiveWsMsg(wsConn *websocket.Conn, exitCh chan bool)
func (*SftpClient) SessionWait ¶
func (c *SftpClient) SessionWait(wsConn *websocket.Conn, quitChan chan bool)
Click to show internal directories.
Click to hide internal directories.