apis

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiFactoryImpl

type ApiFactoryImpl struct {
	cfdErrors.HasInitializeError
	// contains filtered or unexported fields
}

func NewBitcoinApiFactory

func NewBitcoinApiFactory(options ...config.CfdConfigOption) *ApiFactoryImpl

NewBitcoinApiFactory returns an object of a factory that creates all api for bitcoin.

func NewElementsApiFactory

func NewElementsApiFactory(options ...config.CfdConfigOption) *ApiFactoryImpl

NewElementsApiFactory returns an object of a factory that creates all api for elements.

func (ApiFactoryImpl) CreateBitcoinAddressApi

func (a ApiFactoryImpl) CreateBitcoinAddressApi() address.AddressApi

func (ApiFactoryImpl) CreateBitcoinBlockApi

func (a ApiFactoryImpl) CreateBitcoinBlockApi() block.BlockApi

func (ApiFactoryImpl) CreateBitcoinDescriptorApi

func (a ApiFactoryImpl) CreateBitcoinDescriptorApi() descriptor.DescriptorApi

func (ApiFactoryImpl) CreateBitcoinTxApi

func (a ApiFactoryImpl) CreateBitcoinTxApi() transaction.TransactionApi

func (ApiFactoryImpl) CreateConfidentialAddressApi

func (a ApiFactoryImpl) CreateConfidentialAddressApi() address.ConfidentialAddressApi

func (ApiFactoryImpl) CreateCryptoApi

func (a ApiFactoryImpl) CreateCryptoApi() crypto.CryptoApi

func (ApiFactoryImpl) CreateElementsAddressApi

func (a ApiFactoryImpl) CreateElementsAddressApi() address.ElementsAddressApi

func (ApiFactoryImpl) CreateElementsDescriptorApi

func (a ApiFactoryImpl) CreateElementsDescriptorApi() descriptor.DescriptorApi

func (ApiFactoryImpl) CreateElementsTxApi

func (a ApiFactoryImpl) CreateElementsTxApi() transaction.ConfidentialTxApi

func (ApiFactoryImpl) CreateExtPrivkeyApi

func (a ApiFactoryImpl) CreateExtPrivkeyApi() key.ExtPrivkeyApi

func (ApiFactoryImpl) CreateExtPubkeyApi

func (a ApiFactoryImpl) CreateExtPubkeyApi() key.ExtPubkeyApi

func (ApiFactoryImpl) CreateHdWalletApi

func (a ApiFactoryImpl) CreateHdWalletApi() key.HdWalletApi

func (ApiFactoryImpl) CreateLedgerLiquidLibApi

func (a ApiFactoryImpl) CreateLedgerLiquidLibApi() transaction.LedgerLiquidLibApi

func (ApiFactoryImpl) CreatePrivkeyApi

func (a ApiFactoryImpl) CreatePrivkeyApi() key.PrivkeyApi

func (ApiFactoryImpl) CreatePubkeyApi

func (a ApiFactoryImpl) CreatePubkeyApi() key.PubkeyApi

type BitcoinApiFactory

type BitcoinApiFactory interface {
	CreateCryptoApi() crypto.CryptoApi
	CreatePubkeyApi() key.PubkeyApi
	CreatePrivkeyApi() key.PrivkeyApi
	CreateExtPubkeyApi() key.ExtPubkeyApi
	CreateExtPrivkeyApi() key.ExtPrivkeyApi
	CreateHdWalletApi() key.HdWalletApi

	CreateBitcoinAddressApi() address.AddressApi
	CreateBitcoinTxApi() transaction.TransactionApi
	CreateBitcoinBlockApi() block.BlockApi
	CreateBitcoinDescriptorApi() descriptor.DescriptorApi
}

BitcoinApiFactory ...

type ElementsApiFactory

type ElementsApiFactory interface {
	BitcoinApiFactory

	CreateElementsAddressApi() address.ElementsAddressApi
	CreateConfidentialAddressApi() address.ConfidentialAddressApi
	CreateElementsTxApi() transaction.ConfidentialTxApi
	CreateElementsDescriptorApi() descriptor.DescriptorApi
	CreateLedgerLiquidLibApi() transaction.LedgerLiquidLibApi
}

ElementsApiFactory ...

Directories

Path Synopsis
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
key
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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