You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

settings.go 540B

12345678910111213141516
  1. // Copyright 2020 The Gitea Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package structs
  5. // GeneralRepoSettings contains global repository settings exposed by API
  6. type GeneralRepoSettings struct {
  7. MirrorsDisabled bool `json:"mirrors_disabled"`
  8. HTTPGitDisabled bool `json:"http_git_disabled"`
  9. }
  10. // GeneralUISettings contains global ui settings exposed by API
  11. type GeneralUISettings struct {
  12. AllowedReactions []string `json:"allowed_reactions"`
  13. }