memos/api/system.go

14 lines
325 B
Go
Raw Normal View History

package api
2022-06-27 22:09:06 +08:00
import "github.com/usememos/memos/server/profile"
2022-05-17 21:21:13 +08:00
type SystemStatus struct {
Host *User `json:"host"`
2022-05-22 09:29:34 +08:00
Profile *profile.Profile `json:"profile"`
// System settings
// Allow sign up.
AllowSignUp bool `json:"allowSignUp"`
// Additional style.
AdditionalStyle string `json:"additionalStyle"`
}