initial commit

This commit is contained in:
ginuerzh
2023-04-18 20:21:06 +08:00
commit d221a4ec9a
30 changed files with 2736 additions and 0 deletions

View File

@ -0,0 +1,19 @@
// protoc --go_out=. --go_opt=paths=source_relative \
// --go-grpc_out=. --go-grpc_opt=paths=source_relative \
// ingress.proto
syntax = "proto3";
package proto;
option go_package = "github.com/go-gost/plugin/ingress/proto";
message GetRequest {
string host = 1;
}
message GetReply {
string endpoint = 1;
}
service Ingress {
rpc Get(GetRequest) returns (GetReply);
}