mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
16 lines
226 B
Go
16 lines
226 B
Go
package settings
|
|
|
|
type Database struct {
|
|
Name string `json:"name"`
|
|
}
|
|
|
|
var DatabaseSettings = &Database{
|
|
Name: "database",
|
|
}
|
|
|
|
func (d *Database) GetName() string {
|
|
if d.Name == "" {
|
|
d.Name = "database"
|
|
}
|
|
return d.Name
|
|
}
|