package
Version:
v0.0.0-...-ab7327d
Opens a new window with list of versions in this module.
Published: Jul 27, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DirectoryContentResponse struct {
Directory string `json:"directory"`
FileInfos []FileInfo `json:"fileInfos"`
Error string `json:"error,omitempty"`
}
type DiskUsageResponse struct {
Directory string `json:"directory"`
DiskUsage int64 `json:"diskUsage"`
Error string `json:"error,omitempty"`
}
type FileInfo struct {
Name string `json:"name"`
Size int64 `json:"size"`
Mode string `json:"mode"`
ModTime string `json:"modTime"`
IsDir bool `json:"isDir"`
}
type FileInfoResponse struct {
FileInfo FileInfo `json:"fileInfo"`
Error string `json:"error,omitempty"`
}
type PingResponse struct {
Message string `json:"message"`
ElapsedTime time.Duration `json:"elapsedTime"`
}
type User struct {
ID int `json:"id"`
Username string `json:"username"`
Password string `json:"password"`
Role string `json:"role"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.