Merge branch 'session-isclosed' of https://github.com/robbiet480/melody into robbiet480-session-isclosed

This commit is contained in:
Ola Holmström
2017-04-09 18:14:26 +02:00
+5
View File
@@ -211,3 +211,8 @@ func (s *Session) MustGet(key string) interface{} {
panic("Key \"" + key + "\" does not exist")
}
// IsClosed returns the status of the connection.
func (s *Session) IsClosed() bool {
return s.closed()
}