Documentation ¶
Index ¶
- func NewBalance(store payd.BalanceReader) *balance
- func NewDestinationsService(privKeySvc payd.PrivateKeyService, destRdrWtr payd.DestinationsReaderWriter, ...) *destinations
- func NewInvoice(cfg *config.Server, wallCfg *config.Wallet, store payd.InvoiceReaderWriter, ...) *invoice
- func NewOwnerService(str payd.OwnerStore) payd.OwnerService
- func NewPayService(txoWtr payd.TxoWriter, txWtr payd.TransactionWriter, ...) payd.PayService
- func NewPayments(paymentVerify spv.PaymentVerifier, txWtr payd.TransactionWriter, ...) *payments
- func NewPrivateKeys(store payd.PrivateKeyReaderWriter, useMainNet bool) *privateKey
- func NewProofsService(wtr payd.ProofsWriter) *proofs
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
func NewPayService(txoWtr payd.TxoWriter, txWtr payd.TransactionWriter, destWtr payd.DestinationsWriter, p4 http.P4, pk payd.PrivateKeyService, spvc spv.EnvelopeCreator, svrCfg *config.Server) payd.PayService
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.
Click to show internal directories.
Click to hide internal directories.