accessory

package
v0.0.0-...-3f65518 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDBAccessoryToProto

func SetDBAccessoryToProto(ac *models.Accessory) (*messages.Accessory, error)

Types

type Service

type Service struct{}

func (*Service) CreateAccessory

func (*Service) CreateAccessory(ctx context.Context, req *proto.AccessoryRequest) (*proto.Response, error)

func (*Service) GetAccessories

func (*Service) GetAccessories(ctx context.Context, req *proto.AuthenticateRequest) (*proto.GetAccessoriesResponse, error)

func (*Service) GetPins

func (s *Service) GetPins(ctx context.Context, req *proto.GetPinsRequest) (*proto.GetPinsResponse, error)

func (*Service) RunAccessory

func (*Service) RunAccessory(ctx context.Context, req *proto.AccessoryRequest) (*proto.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL