mock_keepalive

package
v0.0.0-...-9745057 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_keepalive is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommand

type MockCommand struct {
	// contains filtered or unexported fields
}

MockCommand is a mock of Command interface

func NewMockCommand

func NewMockCommand(ctrl *gomock.Controller) *MockCommand

NewMockCommand creates a new mock instance

func (*MockCommand) AddTopic

func (m *MockCommand) AddTopic(name string)

AddTopic mocks base method

func (*MockCommand) DeleteTopic

func (m *MockCommand) DeleteTopic(name string)

DeleteTopic mocks base method

func (*MockCommand) EXPECT

func (m *MockCommand) EXPECT() *MockCommandMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCommand) GetInterval

func (m *MockCommand) GetInterval() uint

GetInterval mocks base method

func (*MockCommand) HandlePing

func (m *MockCommand) HandlePing(body string) (map[string]interface{}, error)

HandlePing mocks base method

func (*MockCommand) InitKeepAlive

func (m *MockCommand) InitKeepAlive(interval uint) error

InitKeepAlive mocks base method

type MockCommandMockRecorder

type MockCommandMockRecorder struct {
	// contains filtered or unexported fields
}

MockCommandMockRecorder is the mock recorder for MockCommand

func (*MockCommandMockRecorder) AddTopic

func (mr *MockCommandMockRecorder) AddTopic(name interface{}) *gomock.Call

AddTopic indicates an expected call of AddTopic

func (*MockCommandMockRecorder) DeleteTopic

func (mr *MockCommandMockRecorder) DeleteTopic(name interface{}) *gomock.Call

DeleteTopic indicates an expected call of DeleteTopic

func (*MockCommandMockRecorder) GetInterval

func (mr *MockCommandMockRecorder) GetInterval() *gomock.Call

GetInterval indicates an expected call of GetInterval

func (*MockCommandMockRecorder) HandlePing

func (mr *MockCommandMockRecorder) HandlePing(body interface{}) *gomock.Call

HandlePing indicates an expected call of HandlePing

func (*MockCommandMockRecorder) InitKeepAlive

func (mr *MockCommandMockRecorder) InitKeepAlive(interval interface{}) *gomock.Call

InitKeepAlive indicates an expected call of InitKeepAlive

Jump to

Keyboard shortcuts

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