Documentation ¶
Index ¶
- type Service
- func (s *Service) GetMeasurement(ctx context.Context, name string, ts time.Time) (sd sensor.Data, err error)
- func (s *Service) ListMeasurements(ctx context.Context, name string, from, to time.Time, limit int) (measurements []sensor.Data, err error)
- func (s *Service) Write(ctx context.Context, sd sensor.Data) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetMeasurement ¶
func (*Service) ListMeasurements ¶
Click to show internal directories.
Click to hide internal directories.