Add link field to session
This commit is contained in:
parent
6819386e05
commit
63d535aea9
@ -83,6 +83,10 @@ func (s *session) Local() string {
|
||||
return s.local
|
||||
}
|
||||
|
||||
func (s *session) Link() string {
|
||||
return s.link
|
||||
}
|
||||
|
||||
func (s *session) Id() string {
|
||||
return s.session
|
||||
}
|
||||
|
@ -62,6 +62,8 @@ type Session interface {
|
||||
Id() string
|
||||
// The channel name
|
||||
Channel() string
|
||||
// The link the session is on
|
||||
Link() string
|
||||
// a transport socket
|
||||
transport.Socket
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user