operations

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChartToString

func ChartToString(ctx context.Context, dw wallet.DataWallet, name string) (string, error)

func ExportAccounts

func ExportAccounts(ctx context.Context, mlc *caller.MetaLockerHTTPCaller, dest string) error

func ExportBackendData added in v1.2.0

func ExportBackendData(ctx context.Context, exportFolderPath, configFilePath string) error

func ExportLedger

func ExportLedger(ctx context.Context, ledger model.Ledger, offChainStorage model.OffChainStorage, basePath string) error

func ExportWallet

func ExportWallet(ctx context.Context, dw wallet.DataWallet, destDir, lockerID, participantID string, userFriendly, forceRewrite bool) error

func GetDataSet

func GetDataSet(ctx context.Context, dw wallet.DataWallet, rid, dest string, exportMetaData bool) error

func ImportAccounts

func ImportAccounts(ctx context.Context, mlc *caller.MetaLockerHTTPCaller, srcPath string) error

func ImportBackendData added in v1.2.0

func ImportBackendData(ctx context.Context, importDirPath, configFilePath string) error

func ImportLedger

func ImportLedger(ctx context.Context, ledger model.Ledger, offChainStorage model.OffChainStorage, ns notification.Service, dest string, importOperations, waitForConfirmation bool) error

func PrintWallet

func PrintWallet(ctx context.Context, dw wallet.DataWallet, name string) error

func SaveBlock

func SaveBlock(ctx context.Context, ledger model.Ledger, offChainStorage model.OffChainStorage, basePath string, b *model.Block) error

func StoreDataSet

func StoreDataSet(ctx context.Context, lib wallet.DataStore, path, metaType, vaultName, lockerID, provPath, provMapping, parentRecordID string,
	durationString string, waitForConfirmation bool) (string, string, error)

func StoreDataSets

func StoreDataSets(ctx context.Context, lib wallet.DataStore, path, metaType, vaultName, lockerID, provPath, provMapping string,
	durationString string, waitForConfirmation bool) ([]string, error)

func UpdateAccountState

func UpdateAccountState(ctx context.Context, mlc *caller.MetaLockerHTTPCaller, acctID, targetState string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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