Add comments and session

This commit is contained in:
Asim Aslam
2019-07-10 18:26:11 +01:00
parent 196e76e350
commit 89231f701b
2 changed files with 8 additions and 0 deletions

View File

@@ -48,6 +48,10 @@ func (s *socket) Id() string {
return s.id
}
func (s *socket) Session() string {
return s.session
}
func (s *socket) Send(m *transport.Message) error {
select {
case <-s.closed: