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.
11 lines
253 B
11 lines
253 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 {
|
|
ID() string
|
|
Kind() string
|
|
Name() string
|
|
Handle(event *Event, client *Client)
|
|
State() ClientStateTarget
|
|
}
|