notsolo

package module
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Disposable

type Disposable interface {
	Dispose()
}

Disposable defines a contract to clear resources

type Initializable

type Initializable interface {
	IsInitialized() bool
}

Initializable defines a contract to verify whether a structure is initialized

type NotSolo

type NotSolo struct {
	KeyPair      *keypairmanager.KeyPairManager
	ColoredToken *coloredtokenmanager.ColoredTokenManager
	L1           *l1manager.L1Manager
	Chain        *chainmanager.ChainManager
	Request      *requestmanager.RequestManager
	Data         *datamanager.DataManager
	// contains filtered or unexported fields
}

NotSolo is a wrapper around solo to simplify unit testing

func New

func New(t *testing.T) *NotSolo

New instantiates NotSolo with default settings

func (*NotSolo) Dispose

func (notSolo *NotSolo) Dispose()

Dispose implements Disposable for NotSolo

func (*NotSolo) IsInitialized

func (notSolo *NotSolo) IsInitialized() bool

IsInitialized implements Initializable for *NotSolo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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