mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 15:01:07 +01:00
seperate ssh constants from schema constants
The contants were placed in the same section as the scheme ones, which may lead to confusion.
This commit is contained in:
parent
2f27ee2232
commit
e3570ae45d
1 changed files with 8 additions and 5 deletions
|
@ -27,14 +27,17 @@ import (
|
||||||
"github.com/gogits/gogs/modules/user"
|
"github.com/gogits/gogs/modules/user"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
SSH_PUBLICKEY_CHECK_NATIVE = "native"
|
||||||
|
SSH_PUBLICKEY_CHECK_KEYGEN = "ssh-keygen"
|
||||||
|
)
|
||||||
|
|
||||||
type Scheme string
|
type Scheme string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
HTTP Scheme = "http"
|
HTTP Scheme = "http"
|
||||||
HTTPS Scheme = "https"
|
HTTPS Scheme = "https"
|
||||||
FCGI Scheme = "fcgi"
|
FCGI Scheme = "fcgi"
|
||||||
SSH_PUBLICKEY_CHECK_NATIVE = "native"
|
|
||||||
SSH_PUBLICKEY_CHECK_KEYGEN = "ssh-keygen"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type LandingPage string
|
type LandingPage string
|
||||||
|
|
Loading…
Reference in a new issue