Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLoginParams ¶
func CheckLoginParams() bool
Types ¶
type CommonResp ¶
type DirContentModel ¶
type DirContentModel struct {
ID string `json:"id"`
Path string `json:"path"`
Name string `json:"name"`
Size int64 `json:"size"`
IsDir bool `json:"is_dir"`
Modified string `json:"modified"`
Created string `json:"created"`
Sign string `json:"sign"`
Thumb string `json:"thumb"`
Type int `json:"type"`
}
func DirInfo ¶
func DirInfo(path string) (*DirContentModel, error)
type DirInfoRespModel ¶
type DirInfoRespModel struct {
CommonResp
Data *DirContentModel `json:"data"`
}
type LoginRespModel ¶
type LoginRespModel struct {
CommonResp
Data struct {
Token string `json:"token"`
} `json:"data"`
}
type UserInfoRespModel ¶
Click to show internal directories.
Click to hide internal directories.