Documentation
¶
Index ¶
- type Service
- func (s *Service) Add(controlId uint64, point domain.Point) domain.Point
- func (s *Service) GetByBacketId(controlId, backetId uint64) []domain.Point
- func (s *Service) GetByExternal(controlId uint64, extId string) domain.Point
- func (s *Service) GetByExternalId(backetId uint64, extId string) domain.Point
- func (s *Service) GetByExternalIds(backetId uint64, extId []string) []domain.Point
- func (s *Service) Remove(controlId, pointId uint64)
- func (s *Service) Update(point domain.Point) domain.Point
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 New ¶
func New(stor ports.PointStorage, bs ports.BucketService) *Service
func (*Service) GetByBacketId ¶
func (*Service) GetByExternal ¶
func (*Service) GetByExternalId ¶
func (*Service) GetByExternalIds ¶
Click to show internal directories.
Click to hide internal directories.