Add uid and app status in routing rule

This commit is contained in:
世界 2021-08-27 13:00:13 +08:00
parent 707efd6d12
commit 16d96aa54d
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
12 changed files with 429 additions and 133 deletions

View file

@ -28,6 +28,14 @@ func (c routingContext) GetTargetPort() net.Port {
return net.Port(c.RoutingContext.GetTargetPort())
}
func (c routingContext) GetUid() uint32 {
return 0
}
func (c routingContext) GetAppStatus() []string {
return nil
}
// GetSkipDNSResolve is a mock implementation here to match the interface,
// SkipDNSResolve is set from dns module, no use if coming from a protobuf object?
// TODO: please confirm @Vigilans