base

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBase2 added in v1.16.0

func NewBase2(base Base) *configs_export.PoB

Types

type APIspy

type APIspy struct {
	Filename string
}

type Base

type Base struct {
	Affiliation string
	Health      float64
	Tid         int
	Name        string
}

type BaseStorage

type BaseStorage struct {
	records.Records[records.StampedObjects[*configs_export.PoB]]
	// contains filtered or unexported fields
}

func NewBaseStorage

func NewBaseStorage(api IbaseAPI) *BaseStorage

func (*BaseStorage) FixtureSetAPI

func (s *BaseStorage) FixtureSetAPI(base_api IbaseAPI)

func (*BaseStorage) Update

func (b *BaseStorage) Update()

Conveniently born some factory

type IbaseAPI

type IbaseAPI interface {
	GetPobs() ([]*configs_export.PoB, error)
}

func FixtureBaseApiMock

func FixtureBaseApiMock() IbaseAPI

func NewBaseApi

func NewBaseApi() IbaseAPI

func NewMock

func NewMock(filename string) IbaseAPI

Jump to

Keyboard shortcuts

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