web

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: GPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(th *things.Things, tibiaSprPath, tibiaPicPath string) *Handler

NewHandler constructs web handler for the passed things. It also needs access to the .spr and .pic directly.

func (*Handler) RegisterMapRoute

func (h *Handler) RegisterMapRoute(r *mux.Router, mapDataSource gameworld.MapDataSource)

func (*Handler) RegisterRoutes

func (h *Handler) RegisterRoutes(r *mux.Router)

Jump to

Keyboard shortcuts

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