Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Latest *types.TeeInfoResponse
LastUpdated time.Time
sync.RWMutex
// contains filtered or unexported fields
}
Service holds the latest TEE info and manages updating it.
When you are accessing Latest or LastUpdate mutex should be used.
func NewService ¶
func NewService(db *gorm.DB, aq *queue.ActionQueues, rs *result.ResultStorage, tc *config.InfoTiming) Service
Click to show internal directories.
Click to hide internal directories.