3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-04-10 18:08:14 +02:00
ergo/src/irc/message.go
2012-04-17 19:08:04 -07:00

28 lines
324 B
Go

package irc
type Message interface {
Handle(s *Server, c *Client)
}
type NickMessage struct {
nickname string
}
type UserMessage struct {
user string
mode uint8
unused string
realname string
}
type QuitMessage struct {
message string
}
type UnknownMessage struct {
command string
}
type PingMessage struct {}