Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FabricEndpoint = "http://localhost:7054" EthConnectEndpoint = "http://localhost:8080" EvmConnectEndpoint = "http://localhost:5008" )
Functions ¶
func CaptureOutput ¶
CaptureOutput redirects the standard output to a buffer and returns the original output writer and the captured output.
func ReadFileToString ¶
ReadFileToString reads the contents of a file and returns it as a string.
func StartMockServer ¶
func StopMockServer ¶
Types ¶
type TestHelper ¶
func NewTestEndPoint ¶
func NewTestEndPoint(t *testing.T) *TestHelper
mockprotocol endpoints for testing
Click to show internal directories.
Click to hide internal directories.