mirror of https://github.com/synctv-org/synctv
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.
20 lines
663 B
Go
20 lines
663 B
Go
package settings
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/synctv-org/synctv/internal/model"
|
|
)
|
|
|
|
var (
|
|
DisableCreateRoom = newBoolSetting("disable_create_room", false, model.SettingGroupRoom)
|
|
CreateRoomNeedPwd = newBoolSetting("create_room_need_pwd", false, model.SettingGroupRoom)
|
|
CreateRoomNeedReview = newBoolSetting("create_room_need_review", false, model.SettingGroupRoom)
|
|
RoomTTL = newInt64Setting("room_ttl", int64(time.Hour*48), model.SettingGroupRoom)
|
|
)
|
|
|
|
var (
|
|
DisableUserSignup = newBoolSetting("disable_user_signup", false, model.SettingGroupUser)
|
|
SignupNeedReview = newBoolSetting("signup_need_review", false, model.SettingGroupUser)
|
|
)
|