router

package
v1.49.9 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: AGPL-3.0 Imports: 19 Imported by: 0

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 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