mock

package
v0.2201.10 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package mock implements a mock runtime host useful for tests.

Index

Constants

This section is empty.

Variables

View Source
var CheckTxFailInput = []byte("checktx-mock-fail")

CheckTxFailInput is the input that will cause a CheckTx failure in the mock runtime.

Functions

func New

func New() host.Provisioner

New creates a new mock runtime provisioner useful for tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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