aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/setting/setting.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index e667ee7433..25b9d8590e 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -27,14 +27,17 @@ import (
"github.com/gogits/gogs/modules/user"
)
+const (
+ SSH_PUBLICKEY_CHECK_NATIVE = "native"
+ SSH_PUBLICKEY_CHECK_KEYGEN = "ssh-keygen"
+)
+
type Scheme string
const (
- HTTP Scheme = "http"
- HTTPS Scheme = "https"
- FCGI Scheme = "fcgi"
- SSH_PUBLICKEY_CHECK_NATIVE = "native"
- SSH_PUBLICKEY_CHECK_KEYGEN = "ssh-keygen"
+ HTTP Scheme = "http"
+ HTTPS Scheme = "https"
+ FCGI Scheme = "fcgi"
)
type LandingPage string