server

package
v0.0.0-...-1a91edc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldZoom   = "z"
	FieldCol    = "col"
	FieldRow    = "row"
	FieldSize   = "size"
	FieldFormat = "format"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is a tile server over HTTP

func New

func New(source source.Source) *Server

New yields a fresh new Server

func (*Server) AttachProfiler

func (s *Server) AttachProfiler()

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL