mirror of https://github.com/gissleh/irc.git
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.
10 lines
240 B
10 lines
240 B
package irc
|
|
|
|
// A Target is a handler for a message meant for a limited part of the client, like a channel or
|
|
// query
|
|
type Target interface {
|
|
Kind() string
|
|
Name() string
|
|
Handle(event *Event, client *Client)
|
|
State() ClientStateTarget
|
|
}
|