mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-16 22:14:02 -04:00
accommodate protobuf compiler change
This commit is contained in:
@@ -32,6 +32,13 @@ func (m *ServerEndpoint) GetAddress() *v2ray_core_common_net1.IPOrDomain {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ServerEndpoint) GetPort() uint32 {
|
||||
if m != nil {
|
||||
return m.Port
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ServerEndpoint) GetUser() []*User {
|
||||
if m != nil {
|
||||
return m.User
|
||||
|
Reference in New Issue
Block a user