wip: grpc api
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
1dd748e3f2
commit
2eba8d6511
174 changed files with 22012 additions and 11410 deletions
20
api/services/configuration/service.proto
Normal file
20
api/services/configuration/service.proto
Normal file
|
@ -0,0 +1,20 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package element.v1.configuration;
|
||||
|
||||
import "github.com/ehazlett/element/api/types/service.proto";
|
||||
|
||||
service Configuration {
|
||||
rpc CreateService(CreateServiceRequest) returns (CreateServiceResponse) {}
|
||||
rpc ListServices(ListServicesRequest) returns (ListServicesResponse) {}
|
||||
}
|
||||
|
||||
message CreateServiceRequest {
|
||||
element.v1.types.Service service = 1;
|
||||
}
|
||||
message CreateServiceResponse {}
|
||||
|
||||
message ListServicesRequest {}
|
||||
message ListServicesResponse{
|
||||
repeated element.v1.types.Service services = 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue