This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
seperate ssh constants from schema constants
The contants were placed in the same section as the scheme ones, which may lead to confusion.
tags/v1.2.0-rc1
Gibheer
10 years ago
parent
db937710c0
commit
38ac440213
1 changed files
with
8 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-5
modules/setting/setting.go
+ 8
- 5
modules/setting/setting.go
View File
@@ -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
Write
Preview
Loading…
Cancel
Save