notsolo

package module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 9 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 {
	SigScheme    *signatureschememanager.SignatureSchemeManager
	ColoredToken *coloredtokenmanager.ColoredTokenManager
	ValueTangle  *valuetanglemanager.ValueTangleManager
	Chain        *chainmanager.ChainManager
	Request      *requestmanager.RequestManager
	Response     *responsemanager.ResponseManager
	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

Jump to

Keyboard shortcuts

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