Mirror of github.com/gissleh/irc
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

  1. package irc
  2. // A Status contains
  3. type Status struct {
  4. }
  5. // Kind returns "status"
  6. func (status *Status) Kind() string {
  7. return "status"
  8. }
  9. // Name returns "status"
  10. func (status *Status) Name() string {
  11. return "Status"
  12. }
  13. func (status *Status) State() TargetState {
  14. return TargetState{
  15. Kind: "status",
  16. Name: "Status",
  17. Users: nil,
  18. }
  19. }
  20. // AddHandler handles messages routed to this status by the client's event loop
  21. func (status *Status) Handle(event *Event, client *Client) {
  22. }