Documentation
¶
Index ¶
- func DeleteUserFile(userId, fileId int64) error
- func InsertFile(file *model.FileModel) error
- func InsertUser(uuid int64, username, password string) error
- func InsertUserFile(userFileModel *model.UserFileModel) error
- func QueryFileBySHA1(sha1 string) (*model.FileModel, error)
- func QueryFileByUUID(uuid int64) (*model.FileModel, error)
- func QueryUser(username, password string) (userModel *model.UserModel, err error)
- func QueryUserFileByUserId(userId int64) ([]*model.FileModel, error)
- func UpdateFilePath(fileModel *model.FileModel) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteUserFile ¶ added in v0.1.11
func InsertFile ¶ added in v0.1.8
func InsertUser ¶ added in v0.1.8
func InsertUserFile ¶ added in v0.1.8
func InsertUserFile(userFileModel *model.UserFileModel) error
func QueryFileByUUID ¶ added in v0.1.8
QueryFileByUUID 根据uuid查询文件meta信息
func QueryUserFileByUserId ¶ added in v0.1.8
func UpdateFilePath ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.