package irc // A Status contains type Status struct { id string } // ID returns a unique ID for the status target. func (status *Status) ID() string { return status.id } // 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) { }