Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDefaultVirtualServer ¶
func EnsureDefaultVirtualServer(db *gorm.DB, name, host string, port, maxUsers int, welcomeText string) error
EnsureDefaultVirtualServer ensures virtual server 1 exists. Creates it with the given params if not found. Returns an error only if the database call fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.