Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketService ¶
type BucketStorage ¶
type ControlService ¶
type ControlStorage ¶
type DataService ¶
type DataService interface {
Find(ctx context.Context, data *dto.DataSelect) ([]domain.Data, error)
Write(ctx context.Context, data *domain.Data) error
Clear()
Shutdown()
Count(ctx context.Context, bucketId uint64) (int64, error)
CountAll(ctx context.Context) (map[uint64]int64, error)
Subscribe() (<-chan domain.Data, uint64)
Unsubscribe(id uint64)
}
type DataStorage ¶
type PointService ¶
type PointService interface {
GetByExternal(controlId uint64, extId string) domain.Point
GetByExternalId(backetId uint64, extId string) domain.Point
GetByExternalIds(backetId uint64, extId []string) []domain.Point
GetByBacketId(controlId uint64, backetId uint64) []domain.Point
Remove(controlId uint64, pointId uint64)
Update(point domain.Point) domain.Point
Add(controlId uint64, point domain.Point) domain.Point
}
type PointStorage ¶
type StatusService ¶ added in v0.1.13
type TokenService ¶
Click to show internal directories.
Click to hide internal directories.