Documentation ¶
Index ¶
- func OnFileUploadFinished(filehash string, filename string, filesize int64, fileaddr string) bool
- func OnUserFileUploadFinished(username, filehash, filename string, filesize int64) bool
- func UpdateToken(username string, token string) bool
- func UserSignin(username string, encpwd string) bool
- func UserSignup(username string, passwd string) bool
- type TableFile
- type User
- type UserFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnFileUploadFinished ¶
func OnUserFileUploadFinished ¶
更新用户文件表
func UserSignup ¶
UserSignup : 通过用户名及密码完成user表的注册操作
Types ¶
type TableFile ¶
type TableFile struct { FileHash string FileName sql.NullString FileSize sql.NullInt64 FileAddr sql.NullString }
Click to show internal directories.
Click to hide internal directories.