service

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: ISC Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBalance

func NewBalance(store payd.BalanceReader) *balance

NewBalance will setup and return the current balance of the wallet.

func NewDestinationsService

func NewDestinationsService(privKeySvc payd.PrivateKeyService, destRdrWtr payd.DestinationsReaderWriter, derivRdr payd.DerivationReader, invRdr payd.InvoiceReader, feeRdr payd.FeeReader) *destinations

NewDestinationsService will setup and return a new Output Service for creating and reading payment destination info.

func NewInvoice

func NewInvoice(cfg *config.Server, wallCfg *config.Wallet, store payd.InvoiceReaderWriter, destSvc destinationCreator, transacter payd.Transacter) *invoice

NewInvoice will setup and return a new invoice service.

func NewOwnerService

func NewOwnerService(str payd.OwnerStore) payd.OwnerService

NewOwnerService returns a new owner service.

func NewPayService added in v0.0.2

NewPayService returns a pay service.

func NewPayments

func NewPayments(paymentVerify spv.PaymentVerifier, txWtr payd.TransactionWriter, invRdr payd.InvoiceReader, destRdr payd.DestinationsReader, transacter payd.Transacter, broadcaster payd.BroadcastWriter, callbackWtr payd.ProofCallbackWriter) *payments

NewPayments will setup and return a payments service.

func NewPrivateKeys

func NewPrivateKeys(store payd.PrivateKeyReaderWriter, useMainNet bool) *privateKey

NewPrivateKeys will setup and return a new PrivateKey service.

func NewProofsService

func NewProofsService(wtr payd.ProofsWriter) *proofs

NewProofsService will setup and return a new merkle proof service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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