aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs/settings.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/settings.go')
-rw-r--r--modules/structs/settings.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/structs/settings.go b/modules/structs/settings.go
new file mode 100644
index 0000000000..dcd1b5cabd
--- /dev/null
+++ b/modules/structs/settings.go
@@ -0,0 +1,11 @@
+// Copyright 2020 The Gitea Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package structs
+
+// GeneralRepoSettings contains global repository settings exposed by API
+type GeneralRepoSettings struct {
+ MirrorsDisabled bool `json:"mirrors_disabled"`
+ HTTPGitDisabled bool `json:"http_git_disabled"`
+}