grpc重写插件,首次提交

This commit is contained in:
Liujian
2023-02-15 14:03:26 +08:00
parent 53046df29f
commit c8655ba04d
10 changed files with 158 additions and 3 deletions

View File

@@ -30,6 +30,10 @@ type Request struct {
realIP string
}
func (r *Request) SetHost(s string) {
r.host = s
}
func (r *Request) SetService(service string) {
r.service = service
}