You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
synctv/internal/conf/room.go

12 lines
235 B
Go

package conf
type RoomConfig struct {
MustPassword bool `yaml:"must_password" hc:"must input password to create room" env:"ROOM_MUST_PASSWORD"`
}
func DefaultRoomConfig() RoomConfig {
return RoomConfig{
MustPassword: false,
}
}