You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

message.go 327B

123456789101112131415161718192021222324252627
  1. package irc
  2. type NickMessage struct {
  3. nickname string
  4. }
  5. type UserMessage struct {
  6. user string
  7. mode uint8
  8. unused string
  9. realname string
  10. }
  11. type QuitMessage struct {
  12. message string
  13. }
  14. type UnknownMessage struct {
  15. command string
  16. }
  17. type PingMessage struct {}
  18. type ModeMessage struct {
  19. nickname string
  20. modes []string
  21. }