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
491 B
28 lines
491 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() TargetState {
|
|
return TargetState{
|
|
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) {
|
|
|
|
}
|