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

import "context.proto";

service ServiceService {
  rpc GetServiceList   (context.Empty    ) returns (context.ServiceList   ) {}
  rpc CreateService    (context.Service  ) returns (context.ServiceId     ) {}
  rpc UpdateService    (context.Service  ) returns (context.ServiceId     ) {}
  rpc DeleteService    (context.ServiceId) returns (context.Empty         ) {}
  rpc GetServiceById   (context.ServiceId) returns (context.Service       ) {}
  rpc GetConnectionList(context.Empty    ) returns (context.ConnectionList) {}
Ricard Vilalta's avatar
Ricard Vilalta committed
}