You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
minio/gateway.go

15 lines
270 B

package minio
import (
"fmt"
"github.com/gorilla/mux"
"net/http"
)
func GatewayHandler(w http.ResponseWriter, req *http.Request) {
fmt.Fprintf(w, "Gateway")
}
func RegisterGatewayHandlers(router *mux.Router) {
router.HandleFunc("/gateway/rpc", GatewayHandler)
}