clienttest

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadData

func LoadData(t *testing.T, fileParts ...string) []byte

Types

type MockClient

type MockClient struct {
	mock.Mock
}

func (*MockClient) Address

func (mc *MockClient) Address() string

func (*MockClient) Args

func (mc *MockClient) Args() map[string]interface{}

func (*MockClient) Close

func (mc *MockClient) Close() error

func (*MockClient) Key

func (mc *MockClient) Key() string

func (*MockClient) Read

func (mc *MockClient) Read(b []byte) (int, error)

func (*MockClient) Write

func (mc *MockClient) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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