GraphQL API and utilities for the rpdata project
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.

15 lines
469 B

5 years ago
  1. package models
  2. // A Channel represents information abount an IRC RP channel, and whether it should be logged
  3. type Channel struct {
  4. Name string `bson:"_id"`
  5. Logged bool `bson:"logged"`
  6. Hub bool `bson:"hub"`
  7. EventName string `bson:"eventName,omitempty"`
  8. LocationName string `bson:"locationName,omitempty"`
  9. }
  10. // IsChangeObject is a dummy interface implementation
  11. func (*Channel) IsChangeObject() {
  12. // Dummy interface implementation
  13. }