device.proto 281 Bytes
Newer Older
Ricard Vilalta's avatar
Ricard Vilalta committed
syntax = "proto3";
package device;

import "context.proto";

service DeviceService {
  rpc AddDevice(context.Device) returns (context.DeviceId) {}
Lluis Gifre Renom's avatar
Lluis Gifre Renom committed
  rpc ConfigureDevice(context.Device) returns (context.DeviceId) {}
  rpc DeleteDevice(context.DeviceId) returns (context.Empty) {}
Ricard Vilalta's avatar
Ricard Vilalta committed
}