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.
16 lines
533 B
16 lines
533 B
package models
|
|
|
|
// A Channel represents information abount an IRC RP channel, and whether it should be logged
|
|
type Channel struct {
|
|
Name string `bson:"_id"`
|
|
Logged bool `bson:"logged"`
|
|
Hub bool `bson:"hub"`
|
|
EventName string `bson:"eventName,omitempty"`
|
|
LocationName string `bson:"locationName,omitempty"`
|
|
}
|
|
|
|
// IsChangeObject is an interface implementation to identify it as a valid
|
|
// ChangeObject in GQL.
|
|
func (*Channel) IsChangeObject() {
|
|
panic("this method is a dummy, and so is its caller")
|
|
}
|