Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(path string) *statusHandler
Types ¶
type DiskStatus ¶
type DiskStatus struct {
BytesTotal uint64 `json:"bytes_total"`
BytesUsed uint64 `json:"bytes_used"`
BytesFree uint64 `json:"bytes_free"`
InodesTotal uint64 `json:"inodes_total"`
InodesUsed uint64 `json:"inodes_used"`
InodesFree uint64 `json:"inodes_free"`
}
func (*DiskStatus) String ¶
func (d *DiskStatus) String() string
Click to show internal directories.
Click to hide internal directories.