package
0.0.0-20221016081603-73e05688ebf7
Repository: https://github.com/project-flotta/flotta-device-worker.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMockAPI creates a new mock instance.
NewMockMetricsDaemon creates a new mock instance.
NewMockWriteClient creates a new mock instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
DefaultMaxBytes specifies no block data size limit.
DefaultRetentionDuration specifies 7 days data retention.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MockAPI is a mock of API interface.
MockAPIMockRecorder is the mock recorder for MockAPI.
MockMetricsDaemon is a mock of MetricsDaemon interface.
MockMetricsDaemonMockRecorder is the mock recorder for MockMetricsDaemon.
MockWriteClient is a mock of WriteClient interface.
MockWriteClientMockRecorder is the mock recorder for MockWriteClient.
No description provided by the author
No description provided by the author
RemoteRecoverableError 'remote.RecoverableError' fields are private and can't be instantiated during testing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

go:generate mockgen -package=metrics -destination=metrics_api_mock.go .
go:generate mockgen -package=metrics -destination=mock_daemon.go .
No description provided by the author
No description provided by the author
WriteClient an interface used for testinggo:generate mockgen -package=metrics -destination=write_client_mock.go .

# Type aliases

No description provided by the author