Versions in this module Expand all Collapse all v1 v1.0.8 Mar 26, 2024 Changes in this version + var Stats *stats.Stats + func InitAppStatus(conf *config.ConfigData) error + type App struct + CacheFailedCount int64 + CacheSuccessCount int64 + FmcsaFailedCount int64 + FmcsaSuccessCount int64 + TotalCount int64 + Version string + type StateStorage struct + var StatStorage *StateStorage + func NewStateStorage(store core.Storage) *StateStorage + func (s *StateStorage) AddCacheError(count int64) + func (s *StateStorage) AddCacheSuccess(count int64) + func (s *StateStorage) AddFmcsaError(count int64) + func (s *StateStorage) AddFmcsaSuccess(count int64) + func (s *StateStorage) AddTotalCount(count int64) + func (s *StateStorage) Close() error + func (s *StateStorage) GetCacheError() int64 + func (s *StateStorage) GetCacheSuccess() int64 + func (s *StateStorage) GetFmcsaError() int64 + func (s *StateStorage) GetFmcsaSuccess() int64 + func (s *StateStorage) GetTotalCount() int64 + func (s *StateStorage) Init() error + func (s *StateStorage) Reset()