mirror of
https://github.com/eolinker/apinto
synced 2025-11-01 20:42:42 +08:00
grpc重写插件,首次提交
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user