serve

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorCommitter

func ErrorCommitter() echo.MiddlewareFunc

func Logger

func Logger(logger *logrus.Logger) echo.MiddlewareFunc

Types

type Options

type Options struct {
	Port   int
	Origin *url.URL
	Tiles  []*common.TileSetConfig
}

type Server

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

func New

func New(options *Options) (*Server, error)

func (*Server) Start

func (s *Server) Start() error

Jump to

Keyboard shortcuts

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