minio/gateway.go

16 lines
270 B
Go
Raw Normal View History

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)
}