mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 04:52:24 -06:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			391 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			391 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package config
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// LetsEncryptConfig wraps everything needed to manage letsencrypt certificates from within gotosocial.
							 | 
						||
| 
								 | 
							
								type LetsEncryptConfig struct {
							 | 
						||
| 
								 | 
							
									// Should letsencrypt certificate fetching be enabled?
							 | 
						||
| 
								 | 
							
									Enabled bool
							 | 
						||
| 
								 | 
							
									// Where should certificates be stored?
							 | 
						||
| 
								 | 
							
									CertDir string
							 | 
						||
| 
								 | 
							
									// Email address to pass to letsencrypt for notifications about certificate expiry etc.
							 | 
						||
| 
								 | 
							
									EmailAddress string
							 | 
						||
| 
								 | 
							
								}
							 |