mode0

package
v0.0.0-...-b556d9d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataAggregationLayer

type DataAggregationLayer struct {
	// contains filtered or unexported fields
}

func NewDataAggregationLayer

func NewDataAggregationLayer(opts ...DataOption) DataAggregationLayer

func (DataAggregationLayer) Output

func (al DataAggregationLayer) Output() OutData

type DataOption

type DataOption func(d *DataOptions)

func Source

func Source(s DataSource) DataOption

type DataOptions

type DataOptions struct {
	Source DataSource
}

type DataSource

type DataSource interface {
	Output() OutData
}

type DealerLayer

type DealerLayer struct {
	// contains filtered or unexported fields
}

func NewDealerLayer

func NewDealerLayer(data OutData) (dl *DealerLayer)

func (*DealerLayer) GetCard

func (dl *DealerLayer) GetCard(t string) (c card.ICard, e error)

func (*DealerLayer) Output

func (dl *DealerLayer) Output() []interface{}

func (*DealerLayer) RegisterCard

func (dl *DealerLayer) RegisterCard(card card.ICard)

type OutData

type OutData struct {
	CommonData interface{}
	Data       []handler.DataItem
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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