Documentation ¶
Overview ¶
You can use the "packr clean" command to clean up this, and any other packr generated files.
Index ¶
- Variables
- func DirTree(c echo.Context) error
- func Get(c echo.Context) error
- func GetOutboundIP() string
- func HttpRoot()
- func Login(c echo.Context) error
- func PasswordRandom() string
- func Route(e *echo.Echo) *echo.Echo
- func Scan(c echo.Context) error
- func UserDir() string
- type PathInfo
- type PathInfoFilter
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var AppFs = afero.NewOsFs()
View Source
var UserPassword *string
Functions ¶
func GetOutboundIP ¶
func GetOutboundIP() string
func PasswordRandom ¶
func PasswordRandom() string
Types ¶
type PathInfo ¶
type PathInfoFilter ¶
type PathInfoFilter struct { Name string `json:"name"` Path string `json:"path"` IsDir bool `json:"is_dir"` Items int64 `json:"items"` Files int64 `json:"files"` Size int64 `json:"size"` Children []PathInfoFilter `json:"children"` }
func DataFilter ¶
func DataFilter(data *PathInfo) PathInfoFilter
Click to show internal directories.
Click to hide internal directories.