Mirror of github.com/gissleh/irc
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.

11 lines
253 B

  1. package irc
  2. // A Target is a handler for a message meant for a limited part of the client, like a channel or
  3. // query
  4. type Target interface {
  5. ID() string
  6. Kind() string
  7. Name() string
  8. Handle(event *Event, client *Client)
  9. State() ClientStateTarget
  10. }