mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-07 20:28:48 +00:00
Add uid and app status in routing rule
This commit is contained in:
@@ -239,3 +239,11 @@ func (v *User) Build() *protocol.User {
|
||||
Level: uint32(v.LevelByte),
|
||||
}
|
||||
}
|
||||
|
||||
type UidList []uint32
|
||||
|
||||
func (l UidList) Build() *net.UidList {
|
||||
return &net.UidList{
|
||||
Uid: l,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user