mirror of
https://github.com/gissleh/irc.git
synced 2026-10-19 11:42:52 +00:00
12 lines
253 B
Go
12 lines
253 B
Go
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
|
|
}
|