Files
irc/status.go
T
gisle f7d53f4c63
continuous-integration/drone/push Build is failing
a few small things.
2020-07-22 20:08:22 +02:00

29 lines
503 B
Go

package irc
// A Status contains
type Status struct {
}
// Kind returns "status"
func (status *Status) Kind() string {
return "status"
}
// Name returns "status"
func (status *Status) Name() string {
return "Status"
}
func (status *Status) State() ClientStateTarget {
return ClientStateTarget{
Kind: "status",
Name: "Status",
Users: nil,
}
}
// AddHandler handles messages routed to this status by the client's event loop
func (status *Status) Handle(event *Event, client *Client) {
}