Versions in this module Expand all Collapse all v0 v0.0.1 Mar 19, 2019 v0.0.0 Mar 19, 2019 Changes in this version + const ErrFailedToCreateListener + const ErrFailedToLoadGenesisFile + const ErrFailedToStartListener + const ErrInterrupted + const ErrInvalidParameters + const ErrMaxAcceptRetriesReached + const ErrOther + const ErrTestPublicKeyFailed + const ErrTestSignProposalFailed + const ErrTestSignVoteFailed + const NoError + func ExpandPath(path string) string + type TestHarness struct + func NewTestHarness(logger log.Logger, cfg TestHarnessConfig) (*TestHarness, error) + func (th *TestHarness) Run() + func (th *TestHarness) Shutdown(err error) + func (th *TestHarness) TestPublicKey() error + func (th *TestHarness) TestSignProposal() error + func (th *TestHarness) TestSignVote() error + type TestHarnessConfig struct + AcceptDeadline time.Duration + AcceptRetries int + BindAddr string + ConnDeadline time.Duration + ExitWhenComplete bool + GenesisFile string + KeyFile string + SecretConnKey ed25519.PrivKeyEd25519 + StateFile string + type TestHarnessError struct + Code int + Err error + Info string + func (e *TestHarnessError) Error() string