mtsatellite/cmd/mtwebmapper/tilesupdater.go

26 lines
528 B
Go
Raw Normal View History

// Copyright 2014 by Sascha L. Teichmann
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.
package main
import "net/http"
type tileUpdater struct {
mapDir string
redisHost string
redisPort int
}
func newTileUpdater(mapDir, redisHost string, redisPort int) *tileUpdater {
return &tileUpdater{
mapDir: mapDir,
redisHost: redisHost,
redisPort: redisPort}
}
func (tu *tileUpdater) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
// TODO: Implement me!
}