Documentation
¶
Index ¶
- func NewFromCmdlineOptions() plugin.Plugin
- type ChainSync
- type ChainSyncOptionFunc
- func WithAddresses(addresses []string) ChainSyncOptionFunc
- func WithAssetFingerprints(assetFingerprints []string) ChainSyncOptionFunc
- func WithLogger(logger plugin.Logger) ChainSyncOptionFunc
- func WithPolicies(policyIds []string) ChainSyncOptionFunc
- func WithPoolIds(poolIds []string) ChainSyncOptionFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromCmdlineOptions ¶
Types ¶
type ChainSync ¶
type ChainSync struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...ChainSyncOptionFunc) *ChainSync
New returns a new ChainSync object with the specified options applied
func (*ChainSync) OutputChan ¶
OutputChan returns the output event channel
type ChainSyncOptionFunc ¶
type ChainSyncOptionFunc func(*ChainSync)
func WithAddresses ¶
func WithAddresses(addresses []string) ChainSyncOptionFunc
WithAddresses specfies the address to filter on
func WithAssetFingerprints ¶
func WithAssetFingerprints(assetFingerprints []string) ChainSyncOptionFunc
WithAssetFingerprints specifies the asset fingerprint (asset1xxx) to filter on
func WithLogger ¶
func WithLogger(logger plugin.Logger) ChainSyncOptionFunc
WithLogger specifies the logger object to use for logging messages
func WithPolicies ¶
func WithPolicies(policyIds []string) ChainSyncOptionFunc
WithPolicies specfies the address to filter on
func WithPoolIds ¶
func WithPoolIds(poolIds []string) ChainSyncOptionFunc
WithPoolIds specifies the pool to filter on
Click to show internal directories.
Click to hide internal directories.