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") }