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
252 B
Go

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