Stage object notification test

This commit is contained in:
Andrew Gutekanst
2020-01-23 19:59:26 -05:00
parent 28e0dafd54
commit b1b4f390f0
4 changed files with 43 additions and 8 deletions

View File

@@ -29,7 +29,7 @@ type Session struct {
// NewSession creates a new Session type.
func NewSession(server *Server, conn net.Conn) *Session {
s := &Session{
logger: server.logger,
logger: server.logger.Named(conn.RemoteAddr().String()),
server: server,
rawConn: conn,
cryptConn: network.NewCryptConn(conn),