router

package
v1.63.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: AGPL-3.0 Imports: 19 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 NewBuilder added in v1.48.6

func NewBuilder(mapped *configs_mapped.MappedConfigs) *builder.Builder

func NewMapped added in v1.48.6

func NewMapped() *configs_mapped.MappedConfigs

Types

type AppData added in v1.46.0

type AppData struct {
	Mapped  *configs_mapped.MappedConfigs
	Build   *builder.Builder
	Configs *configs_export.Exporter
	Shared  *types.SharedData
	// contains filtered or unexported fields
}

func GetAppDataFixture added in v1.63.0

func GetAppDataFixture() *AppData

func NewAppData added in v1.46.0

func NewAppData() *AppData

func (*AppData) Lock added in v1.48.6

func (a *AppData) Lock()

func (*AppData) Refresh added in v1.48.6

func (a *AppData) Refresh()

func (*AppData) Unlock added in v1.48.6

func (a *AppData) Unlock()

type Router

type Router struct {
	AppData *AppData
}

func NewRouter added in v1.46.0

func NewRouter(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) RouterOpt

Jump to

Keyboard shortcuts

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