refactor
This commit is contained in:
12
web/models/info.go
Normal file
12
web/models/info.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package models
|
||||
|
||||
type UserInfo struct {
|
||||
Username string
|
||||
IsAdmin bool
|
||||
}
|
||||
|
||||
type ServerInfo struct {
|
||||
RegistrationEnabled bool
|
||||
SearchEnabled bool
|
||||
Version string
|
||||
}
|
||||
Reference in New Issue
Block a user