system.go 574 B

12345678910111213141516171819
  1. package api
  2. import "github.com/usememos/memos/server/profile"
  3. type SystemStatus struct {
  4. Host *User `json:"host"`
  5. Profile profile.Profile `json:"profile"`
  6. DBSize int64 `json:"dbSize"`
  7. // System settings
  8. // Allow sign up.
  9. AllowSignUp bool `json:"allowSignUp"`
  10. // Additional style.
  11. AdditionalStyle string `json:"additionalStyle"`
  12. // Additional script.
  13. AdditionalScript string `json:"additionalScript"`
  14. // Customized server profile, including server name and external url.
  15. CustomizedProfile CustomizedProfile `json:"customizedProfile"`
  16. }