Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRoomHandler ¶
func NewRoomHandler() *roomHandler
Types ¶
type ChatMessage ¶
type Client ¶
type Client struct { Nick string // contains filtered or unexported fields }
func (*Client) ReadCommands ¶
func (c *Client) ReadCommands()
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command used by client to manage interaction with chat
type Repository ¶
type Service ¶
type Service interface { Run() NewClient(conn *websocket.Conn, nick string) Repository }
func NewService ¶
func NewService(rep Repository) Service
Click to show internal directories.
Click to hide internal directories.