package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 24, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
SccessCode = 0
ErrorUsernameInvalidCode = 1001
ErrorPasswordInvalidCode = 1002
ErrorCreateUserFailed = 2001
)
type MultipleInfo struct {
UploadId string `json:"uploadId"`
FileName string `json:"fileName"`
FileSize int64 `json:"fileSize"`
ChunkSize int64 `json:"chunkSize" binding:"omitempty"`
ChunkCount int64 `json:"chunkCount"`
FileSHA1 string `json:"fileSHA1"`
}
type RequestUserInfo struct {
Username string `json:"username"`
Password string `json:"password"`
ConfirmPassword string `json:"confirm_password"`
Token string `json:"token"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.