Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceStatistics ¶
type DeviceStatisticsReference ¶
type DeviceStatisticsReference struct {
// contains filtered or unexported fields
}
func NewDeviceStatisticsReference ¶
func NewDeviceStatisticsReference(ldb *leveldb.DB, device string) *DeviceStatisticsReference
func (*DeviceStatisticsReference) GetLastSeen ¶
func (s *DeviceStatisticsReference) GetLastSeen() time.Time
func (*DeviceStatisticsReference) GetStatistics ¶
func (s *DeviceStatisticsReference) GetStatistics() DeviceStatistics
func (*DeviceStatisticsReference) WasSeen ¶
func (s *DeviceStatisticsReference) WasSeen()
type FolderStatistics ¶
type FolderStatistics struct {
LastFile LastFile `json:"lastFile"`
}
type FolderStatisticsReference ¶
type FolderStatisticsReference struct {
// contains filtered or unexported fields
}
func NewFolderStatisticsReference ¶
func NewFolderStatisticsReference(ldb *leveldb.DB, folder string) *FolderStatisticsReference
func (*FolderStatisticsReference) GetLastFile ¶
func (s *FolderStatisticsReference) GetLastFile() LastFile
func (*FolderStatisticsReference) GetStatistics ¶
func (s *FolderStatisticsReference) GetStatistics() FolderStatistics
func (*FolderStatisticsReference) ReceivedFile ¶
func (s *FolderStatisticsReference) ReceivedFile(file string, deleted bool)
Click to show internal directories.
Click to hide internal directories.