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.
28 lines
503 B
28 lines
503 B
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) {
|
|
|
|
}
|