mirror of
https://github.com/minio/minio.git
synced 2025-11-27 05:21:16 +01:00
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)
|
|
}
|