Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceStatistics ¶ added in v0.10.0
type DeviceStatisticsReference ¶ added in v0.10.0
type DeviceStatisticsReference struct {
// contains filtered or unexported fields
}
func NewDeviceStatisticsReference ¶ added in v0.10.0
func NewDeviceStatisticsReference(ldb *leveldb.DB, device protocol.DeviceID) *DeviceStatisticsReference
func (*DeviceStatisticsReference) GetLastSeen ¶ added in v0.10.0
func (s *DeviceStatisticsReference) GetLastSeen() time.Time
func (*DeviceStatisticsReference) GetStatistics ¶ added in v0.10.0
func (s *DeviceStatisticsReference) GetStatistics() DeviceStatistics
func (*DeviceStatisticsReference) WasSeen ¶ added in v0.10.0
func (s *DeviceStatisticsReference) WasSeen()
type FolderStatistics ¶ added in v0.10.12
type FolderStatistics struct {
LastFile LastFile
}
type FolderStatisticsReference ¶ added in v0.10.12
type FolderStatisticsReference struct {
// contains filtered or unexported fields
}
func NewFolderStatisticsReference ¶ added in v0.10.12
func NewFolderStatisticsReference(ldb *leveldb.DB, folder string) *FolderStatisticsReference
func (*FolderStatisticsReference) GetLastFile ¶ added in v0.10.12
func (s *FolderStatisticsReference) GetLastFile() LastFile
func (*FolderStatisticsReference) GetStatistics ¶ added in v0.10.12
func (s *FolderStatisticsReference) GetStatistics() FolderStatistics
func (*FolderStatisticsReference) ReceivedFile ¶ added in v0.10.12
func (s *FolderStatisticsReference) ReceivedFile(filename string)
Click to show internal directories.
Click to hide internal directories.