mirror of https://github.com/minio/minio.git
				
				
				
			
		
			
	
	
		
			16 lines
		
	
	
		
			270 B
		
	
	
	
		
			Go
		
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			270 B
		
	
	
	
		
			Go
		
	
	
	
|  | package minio | ||
|  | 
 | ||
|  | import ( | ||
|  | 	"fmt" | ||
|  | 	"github.com/gorilla/mux" | ||
|  | 	"net/http" | ||
|  | ) | ||
|  | 
 | ||
|  | func RegisterStorageHandlers(router *mux.Router) { | ||
|  | 	router.HandleFunc("/storage/rpc", StorageHandler) | ||
|  | } | ||
|  | 
 | ||
|  | func StorageHandler(w http.ResponseWriter, req *http.Request) { | ||
|  | 	fmt.Fprintf(w, "Storage") | ||
|  | } |