seller

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SellerLayer

type SellerLayer struct {
	layer.BaseLayer
	// app's we're waiting for
	WaitingForApp compat.WaitingForApp
	// nexus by shared seed
	NexusBySharedSeed compat.NexusBySharedSeed

	SellerNexus seller.SellerNexus
	// contains filtered or unexported fields
}

func NewSellerLayer

func NewSellerLayer() *SellerLayer

func (*SellerLayer) AnnounceNexus

func (s *SellerLayer) AnnounceNexus(belowNexus nexus.Nexus)

func (*SellerLayer) HandleOpinionInvoiceRequest

func (s *SellerLayer) HandleOpinionInvoiceRequest(nx nexus.Nexus, itemId string, requestUuid string)

func (*SellerLayer) NexusWaitingForApp

func (s *SellerLayer) NexusWaitingForApp(seed *beacon.SharedSeed, sellerNexus nexus.Nexus)

func (*SellerLayer) RegisterAboveLayer

func (s *SellerLayer) RegisterAboveLayer(belowLayer layer.Layer)

func (*SellerLayer) SellerNowReadyFromApp

func (s *SellerLayer) SellerNowReadyFromApp()

func (*SellerLayer) SetHandleOpinionInvoiceRequest

func (s *SellerLayer) SetHandleOpinionInvoiceRequest(request compat.HandleOpinionInvoiceRequest)

func (*SellerLayer) SetHandleSellerInfoRequest

func (s *SellerLayer) SetHandleSellerInfoRequest(handler func() seller.SellerInfo)

func (*SellerLayer) SetupSellerNexus

func (s *SellerLayer) SetupSellerNexus(belowNexus nexus.Nexus) seller.SellerNexus

Jump to

Keyboard shortcuts

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