Documentation ¶
Index ¶
- type SellerLayer
- func (s *SellerLayer) AnnounceNexus(belowNexus nexus.Nexus)
- func (s *SellerLayer) HandleOpinionInvoiceRequest(nx nexus.Nexus, itemId string, requestUuid string)
- func (s *SellerLayer) NexusWaitingForApp(seed *beacon.SharedSeed, sellerNexus nexus.Nexus)
- func (s *SellerLayer) RegisterAboveLayer(belowLayer layer.Layer)
- func (s *SellerLayer) SellerNowReadyFromApp()
- func (s *SellerLayer) SetHandleOpinionInvoiceRequest(request compat.HandleOpinionInvoiceRequest)
- func (s *SellerLayer) SetHandleSellerInfoRequest(handler func() seller.SellerInfo)
- func (s *SellerLayer) SetupSellerNexus(belowNexus nexus.Nexus) seller.SellerNexus
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 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
Click to show internal directories.
Click to hide internal directories.