mirror of
				https://github.com/khairul169/garage-webui.git
				synced 2025-10-31 07:09:32 +07:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			228 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			228 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package router
 | |
| 
 | |
| import (
 | |
| 	"khairul169/garage-webui/utils"
 | |
| 	"net/http"
 | |
| )
 | |
| 
 | |
| type Config struct{}
 | |
| 
 | |
| func (c *Config) GetAll(w http.ResponseWriter, r *http.Request) {
 | |
| 	config := utils.Garage.Config
 | |
| 	utils.ResponseSuccess(w, config)
 | |
| }
 |