mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 18:12:20 +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
					
				| @ -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 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user