Add link field to session

This commit is contained in:
Asim Aslam 2019-09-11 12:07:43 -07:00
parent 6819386e05
commit 63d535aea9
2 changed files with 6 additions and 0 deletions

View File

@ -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
}

View File

@ -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
}