base

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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[Base]]
	// 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 {
	GetBaseData() ([]byte, 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