Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionManager ¶
type ConnectionManager struct {
// contains filtered or unexported fields
}
ConnectionManager is the main connection manager struct that handles all chat connections
func NewManager ¶
func NewManager( messageRepo repositories.MessageRepo, conversationRepo repositories.ConversationRepo, conversantRepo repositories.ConversantRepo, auther operators.Auther, notifier operators.Notifier) *ConnectionManager
NewManager creates a new connection manager given repos and operators
func (*ConnectionManager) Join ¶
func (manager *ConnectionManager) Join(conn connection.Conn)
Join authorizes a connection and then joins the server
Click to show internal directories.
Click to hide internal directories.