Add server options on conn #114
5
conn.go
5
conn.go
|
@ -68,6 +68,11 @@ func (conn *Conn) PublicIP() string {
|
|||
return conn.server.PublicIP
|
||||
}
|
||||
|
||||
// ServerOpts returns the server options
|
||||
func (conn *Conn) ServerOpts() *ServerOpts {
|
||||
return conn.server.ServerOpts
|
||||
}
|
||||
|
||||
func (conn *Conn) passiveListenIP() string {
|
||||
var listenIP string
|
||||
if len(conn.PublicIP()) > 0 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user