mock_client

package
v0.0.0-...-8a04a08 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	mock.Mock
}

func NewMockClient

func NewMockClient() *MockClient

func (*MockClient) AsyncRequests

func (m *MockClient) AsyncRequests(as []client.AsyncRequest) []client.AsyncResponse

func (*MockClient) Close

func (m *MockClient) Close()

func (*MockClient) Publish

func (m *MockClient) Publish(topic string, v interface{}, meta map[string]string) error

func (*MockClient) Request

func (m *MockClient) Request(service string, method string, reqv interface{}, respv interface{}, header map[string]string) (int, error)

Jump to

Keyboard shortcuts

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