fundsrecovery

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config holds the properties that configure the package

func NewFundsRecoveryConfig

func NewFundsRecoveryConfig(opts ...Option) *Config

type FundsRecovery

type FundsRecovery struct {
	// contains filtered or unexported fields
}

func NewFundsRecovery

func NewFundsRecovery(cfg *Config) (*FundsRecovery, error)

func (*FundsRecovery) GetID

func (n *FundsRecovery) GetID() string

func (*FundsRecovery) PrintLogs

func (n *FundsRecovery) PrintLogs(cli *client.Client)

func (*FundsRecovery) Start

func (n *FundsRecovery) Start() error

func (*FundsRecovery) WaitForFinish

func (n *FundsRecovery) WaitForFinish() error

type Option

type Option = func(c *Config)

Option is a function that applies configs to a Config Object

func WithAccToPay

func WithAccToPay(s string) Option

func WithDockerImage

func WithDockerImage(s string) Option

func WithL1HTTPURL

func WithL1HTTPURL(s string) Option

func WithL1PrivateKey

func WithL1PrivateKey(s string) Option

func WithMgmtContractAddress

func WithMgmtContractAddress(s string) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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