mappers

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCodec

func RegisterCodec(codec *codec.Codec)

Types

type Chains

type Chains interface {
	GetID() types.ID

	Get(types.ID) mappables.Chain
	GetList() []mappables.Chain

	Fetch(types.ID) Chains
	Add(mappables.Chain) Chains
	Remove(mappables.Chain) Chains
	Mutate(mappables.Chain) Chains
}

type InterNFTs

type InterNFTs interface {
	GetID() types.ID

	Get(types.ID) mappables.InterNFT
	GetList() []mappables.InterNFT

	Fetch(types.ID) InterNFTs
	Add(mappables.InterNFT) InterNFTs
	Remove(mappables.InterNFT) InterNFTs
	Mutate(mappables.InterNFT) InterNFTs
}

type Metas

type Metas interface {
	GetID() types.ID

	Get(types.ID) mappables.Meta
	GetList() []mappables.Meta

	Fetch(types.ID) Metas
	Add(mappables.Meta) Metas
	Remove(mappables.Meta) Metas
	Mutate(mappables.Meta) Metas
}

type Orders

type Orders interface {
	GetID() types.ID

	Get(types.ID) mappables.Order
	GetList() []mappables.Order

	Fetch(types.ID) Orders
	Add(mappables.Order) Orders
	Remove(mappables.Order) Orders
	Mutate(mappables.Order) Orders
}

type Splits

type Splits interface {
	GetID() types.ID

	Get(types.ID) mappables.Split
	GetList() []mappables.Split

	Fetch(types.ID) Splits
	Add(mappables.Split) Splits
	Remove(mappables.Split) Splits
	Mutate(mappables.Split) Splits
}

Jump to

Keyboard shortcuts

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