mocks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRPC

type MockRPC struct {
	DoFunc func(ctx context.Context, method string, out interface{}, args ...interface{}) error
}

MockRPC mock rpc client.

func (*MockRPC) Do

func (m *MockRPC) Do(ctx context.Context, method string, out interface{}, args ...interface{}) error

Do executes the RPC method with the provided context, method name, output interface, and arguments.

Jump to

Keyboard shortcuts

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