11 lines
334 B
Go
11 lines
334 B
Go
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:"event,omitempty"`
|
|
LocationName string `bson:"location,omitempty"`
|
|
}
|