github.com/infraboard/keyauth@v0.8.1/apps/endpoint/pb/service.proto (about) 1 syntax = "proto3"; 2 3 package infraboard.keyauth.endpoint; 4 option go_package = "github.com/infraboard/keyauth/apps/endpoint"; 5 6 import "apps/endpoint/pb/request.proto"; 7 import "apps/endpoint/pb/endpoint.proto"; 8 import "apps/endpoint/pb/resource.proto"; 9 10 // Service token管理服务 11 service Service { 12 rpc DescribeEndpoint(DescribeEndpointRequest) returns(Endpoint); 13 rpc QueryEndpoints(QueryEndpointRequest) returns(Set); 14 rpc RegistryEndpoint(RegistryRequest) returns(RegistryResponse); 15 rpc DeleteEndpoint(DeleteEndpointRequest) returns(Endpoint); 16 rpc QueryResources(QueryResourceRequest) returns(ResourceSet); 17 }