router

package
v1.79.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: AGPL-3.0 Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppDataFixture added in v1.63.0

func GetAppDataFixture() *appdata.AppData

Types

type Router

type Router struct {
	AppData *appdata.AppData
	// contains filtered or unexported fields
}

func NewRouter added in v1.46.0

func NewRouter(AppData *appdata.AppData, opts ...RouterOpt) *Router
func (l *Router) Link() *builder.Builder

func (*Router) LinkAmmo

func (l *Router) LinkAmmo(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkBases

func (l *Router) LinkBases(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkCommodities

func (l *Router) LinkCommodities(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkCounterMeasures

func (l *Router) LinkCounterMeasures(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkEngines

func (l *Router) LinkEngines(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkFactions

func (l *Router) LinkFactions(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkGuns

func (l *Router) LinkGuns(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkMines

func (l *Router) LinkMines(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkScanners

func (l *Router) LinkScanners(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkShields

func (l *Router) LinkShields(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkShips

func (l *Router) LinkShips(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkThrusters

func (l *Router) LinkThrusters(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

func (*Router) LinkTractors

func (l *Router) LinkTractors(
	build *builder.Builder,
	data *configs_export.Exporter,
	shared *types.SharedData,
)

type RouterOpt

type RouterOpt func(l *Router)

func WithAppData added in v1.46.0

func WithAppData(AppData *appdata.AppData) RouterOpt

func WithStaticAssetsGen added in v1.72.1

func WithStaticAssetsGen() RouterOpt

Jump to

Keyboard shortcuts

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