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(db *leveldb.DB, device protocol.DeviceID) *DeviceStatisticsReference
func (*DeviceStatisticsReference) Delete ¶ added in v0.10.0
func (s *DeviceStatisticsReference) Delete() error
Never called, maybe because it's worth while to keep the data or maybe because we have no easy way of knowing that a device has been removed.
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()
Click to show internal directories.
Click to hide internal directories.