Documentation ¶
Overview ¶
Package easyfs provides a JSON API that serves defined files of the host system over HTTP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Writer = log.Writer()
Writer is the output destination for this packages logger.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct { AbsPath string `json:"absPath"` Basename string `json:"basename"` Size uint64 `json:"size"` SizePretty string `json:"sizePretty"` // Size in a format like 10 MB or 12.5 KB and so on. }
FileInfo describes a file that will be served over the API.
Click to show internal directories.
Click to hide internal directories.