Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultThermometerDataProvider = &ThermometerDataProvider{lastData: make(map[string]*ThermometerData)}
Functions ¶
Types ¶
type ThermometerData ¶
type ThermometerDataProvider ¶
type ThermometerDataProvider struct {
// contains filtered or unexported fields
}
func (*ThermometerDataProvider) Get ¶
func (t *ThermometerDataProvider) Get(id string) *ThermometerData
func (*ThermometerDataProvider) Start ¶
func (t *ThermometerDataProvider) Start(ctx context.Context) error
func (*ThermometerDataProvider) Stop ¶
func (t *ThermometerDataProvider) Stop() error
Click to show internal directories.
Click to hide internal directories.