1
0
forked from MTSR/mapserver
mapserver/server/web/minetest.go
2019-01-29 18:00:00 +01:00

18 lines
283 B
Go

package web
import (
"encoding/json"
"mapserver/app"
"net/http"
)
type Minetest struct {
ctx *app.App
}
func (t *Minetest) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
resp.Header().Add("content-type", "application/json")
json.NewEncoder(resp).Encode("stub")
}