You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
router/internal/proto/routerserverpb/routerserverpb.proto

25 lines
588 B
Protocol Buffer

syntax = "proto3";
package routerserverpb;
option go_package = "jochum.dev/jo-micro/router/proto/routerserverpb;routerserverpb";
import "google/protobuf/empty.proto";
service RouterServerService {
rpc Routes (google.protobuf.Empty) returns (RoutesReply) {}
}
message RoutesReply {
message Route {
string method = 1;
string path = 2;
repeated string params = 3;
string endpoint = 4;
bool authRequired = 5;
repeated string ratelimitClientIP = 6;
repeated string reatelimitUser = 7;
}
repeated Route routes = 1;
}