views

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.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 AuditView

type AuditView struct{}

func (*AuditView) Call

func (a *AuditView) Call(context view.Context) (interface{}, error)

type Balance

type Balance struct {
	Type     string
	Quantity string
}

type BalanceQuery

type BalanceQuery struct {
	TMSID  token.TMSID
	Wallet string
	Type   string
}

type BalanceView

type BalanceView struct {
	*BalanceQuery
}

func (*BalanceView) Call

func (b *BalanceView) Call(context view.Context) (interface{}, error)

type BalanceViewFactory

type BalanceViewFactory struct{}

func (*BalanceViewFactory) NewView

func (g *BalanceViewFactory) NewView(in []byte) (view.View, error)

type BuyHouseView

type BuyHouseView struct{}

func (*BuyHouseView) Call

func (b *BuyHouseView) Call(context view.Context) (interface{}, error)

type RegisterAuditorView

type RegisterAuditorView struct{}

func (*RegisterAuditorView) Call

func (r *RegisterAuditorView) Call(context view.Context) (interface{}, error)

type RegisterAuditorViewFactory

type RegisterAuditorViewFactory struct{}

func (*RegisterAuditorViewFactory) NewView

func (p *RegisterAuditorViewFactory) NewView(in []byte) (view.View, error)

type Sell

type Sell struct {
	// Wallet is the wallet from which recipient identities must be derived
	Wallet string
	// HouseID is the house ID of the house to sell
	HouseID string
	// Buyer is the identity of the buyer (it is identifier as defined in the topology)
	Buyer string
}

Sell contains the sell instructions

type SellHouseView

type SellHouseView struct {
	*Sell
}

func (*SellHouseView) Call

func (d *SellHouseView) Call(context view.Context) (interface{}, error)

type SellHouseViewFactory

type SellHouseViewFactory struct{}

func (SellHouseViewFactory) NewView

func (s SellHouseViewFactory) NewView(in []byte) (view.View, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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