Documentation ¶
Index ¶
- func SetDBAccessoryToProto(ac *models.Accessory) (*messages.Accessory, error)
- type Service
- func (*Service) CreateAccessory(ctx context.Context, req *proto.AccessoryRequest) (*proto.Response, error)
- func (*Service) GetAccessories(ctx context.Context, req *proto.AuthenticateRequest) (*proto.GetAccessoriesResponse, error)
- func (s *Service) GetPins(ctx context.Context, req *proto.GetPinsRequest) (*proto.GetPinsResponse, error)
- func (*Service) RunAccessory(ctx context.Context, req *proto.AccessoryRequest) (*proto.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct{}
func (*Service) CreateAccessory ¶
func (*Service) GetAccessories ¶
Click to show internal directories.
Click to hide internal directories.