mirror of
				https://github.com/yv1ing/MollyBlog.git
				synced 2025-09-16 14:53:45 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			404 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			404 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package config
 | |
| 
 | |
| type MConfig struct {
 | |
| 	Host           string   `yaml:"host"`
 | |
| 	Port           int      `yaml:"port"`
 | |
| 	Storage        mStorage `yaml:"storage"`
 | |
| 	Template       string   `yaml:"template"`
 | |
| 	UpdateEndpoint string   `yaml:"update_endpoint"`
 | |
| 	UpdateSecret   string   `yaml:"update_secret"`
 | |
| 	CachePath      string   `yaml:"cache_path"`
 | |
| 
 | |
| 	MSite mSite `yaml:"site"`
 | |
| }
 | |
| 
 | |
| var MConfigInstance *MConfig
 |