Newer
Older
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) {}