servermap

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxMarkers = 100
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMarkersConfig

type GetMarkersConfig struct {
	Server                  string
	Tribes                  []string
	Players                 []string
	ShowBarbarianVillages   bool
	ShowOtherPlayerVillages bool
	LargerMarkers           bool
	PlayerVillageColor      string
	BarbarianVillageColor   string
}

type Usecase

type Usecase interface {
	GetMarkers(ctx context.Context, cfg GetMarkersConfig) ([]*generator.Marker, error)
}

Directories

Path Synopsis
delivery

Jump to

Keyboard shortcuts

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