Documentation
¶
Index ¶
- type ManagerServer
- func (s *ManagerServer) GetDevices(_ context.Context, req *pb.GetDevicesRequest) (*pb.GetDevicesResponse, error)
- func (s *ManagerServer) GetDevicesForTransport(_ context.Context, req *pb.GetDevicesForTransportRequest) (*pb.GetDevicesForTransportResponse, error)
- func (s *ManagerServer) RegisterDeviceCallback(_ context.Context, req *pb.RegisterDeviceCallbackRequest) (*pb.RegisterDeviceCallbackResponse, error)
- func (s *ManagerServer) UnregisterDeviceCallback(_ context.Context, req *pb.UnregisterDeviceCallbackRequest) (*pb.UnregisterDeviceCallbackResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerServer ¶
type ManagerServer struct {
pb.UnimplementedManagerServiceServer
Ctx *app.Context
Handles *handlestore.HandleStore
}
ManagerServer implements pb.ManagerServiceServer.
func (*ManagerServer) GetDevices ¶
func (s *ManagerServer) GetDevices(_ context.Context, req *pb.GetDevicesRequest) (*pb.GetDevicesResponse, error)
func (*ManagerServer) GetDevicesForTransport ¶
func (s *ManagerServer) GetDevicesForTransport(_ context.Context, req *pb.GetDevicesForTransportRequest) (*pb.GetDevicesForTransportResponse, error)
func (*ManagerServer) RegisterDeviceCallback ¶
func (s *ManagerServer) RegisterDeviceCallback(_ context.Context, req *pb.RegisterDeviceCallbackRequest) (*pb.RegisterDeviceCallbackResponse, error)
func (*ManagerServer) UnregisterDeviceCallback ¶
func (s *ManagerServer) UnregisterDeviceCallback(_ context.Context, req *pb.UnregisterDeviceCallbackRequest) (*pb.UnregisterDeviceCallbackResponse, error)
Click to show internal directories.
Click to hide internal directories.