1
0
forked from MTSR/mapserver
mapserver/server/web/minetest.go

18 lines
283 B
Go
Raw Normal View History

2019-01-29 09:53:59 +03:00
package web
import (
2019-01-29 20:00:00 +03:00
"encoding/json"
2019-01-29 09:53:59 +03:00
"mapserver/app"
"net/http"
)
type Minetest struct {
ctx *app.App
}
func (t *Minetest) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
2019-01-29 20:00:00 +03:00
resp.Header().Add("content-type", "application/json")
json.NewEncoder(resp).Encode("stub")
2019-01-29 09:53:59 +03:00
}