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 GatewayHandler(w http.ResponseWriter, req *http.Request) {
|
||
|
fmt.Fprintf(w, "Gateway")
|
||
|
}
|
||
|
|
||
|
func RegisterGatewayHandlers(router *mux.Router) {
|
||
|
router.HandleFunc("/gateway/rpc", GatewayHandler)
|
||
|
}
|