mirror of
https://github.com/gissleh/irc.git
synced 2026-10-23 03:02:52 +00:00
11 lines
234 B
Go
11 lines
234 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 {
|
|
Kind() string
|
|
Name() string
|
|
Handle(event *Event, client *Client)
|
|
State() TargetState
|
|
}
|