Documentation ¶
Index ¶
- type MockAdapter
- type MockAdapterDelegate
- type MockConnection
- func (_m *MockConnection) BindDelegate(delegate ConnectionDelegate)
- func (_m *MockConnection) Close()
- func (_m *MockConnection) EXPECT() *_MockConnectionRecorder
- func (_m *MockConnection) SendBinary(bytes []byte)
- func (_m *MockConnection) SendText(text string)
- func (_m *MockConnection) UnbindDelegate()
- type MockConnectionDelegate
- type MockCtrlProxyDelegate
- type MockCtrlReadyDelegate
- type MockTargetProxyDelegate
- func (_m *MockTargetProxyDelegate) EXPECT() *_MockTargetProxyDelegateRecorder
- func (_m *MockTargetProxyDelegate) OnTargetBinary(proxy *TargetProxy, bytes []byte)
- func (_m *MockTargetProxyDelegate) OnTargetClosed(proxy *TargetProxy)
- func (_m *MockTargetProxyDelegate) OnTargetText(proxy *TargetProxy, text string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAdapter ¶
type MockAdapter struct {
// contains filtered or unexported fields
}
Mock of Adapter interface
func NewMockAdapter ¶
func NewMockAdapter(ctrl *gomock.Controller) *MockAdapter
func (*MockAdapter) BindDelegate ¶
func (_m *MockAdapter) BindDelegate(delegate AdapterDelegate)
func (*MockAdapter) Close ¶
func (_m *MockAdapter) Close()
func (*MockAdapter) EXPECT ¶
func (_m *MockAdapter) EXPECT() *_MockAdapterRecorder
func (*MockAdapter) SetCtrlProxy ¶
func (_m *MockAdapter) SetCtrlProxy(proxy *CtrlProxy)
func (*MockAdapter) UnbindDelegate ¶
func (_m *MockAdapter) UnbindDelegate()
type MockAdapterDelegate ¶
type MockAdapterDelegate struct {
// contains filtered or unexported fields
}
Mock of AdapterDelegate interface
func NewMockAdapterDelegate ¶
func NewMockAdapterDelegate(ctrl *gomock.Controller) *MockAdapterDelegate
func (*MockAdapterDelegate) EXPECT ¶
func (_m *MockAdapterDelegate) EXPECT() *_MockAdapterDelegateRecorder
func (*MockAdapterDelegate) OnAdapterClosed ¶
func (_m *MockAdapterDelegate) OnAdapterClosed(adapter Adapter)
type MockConnection ¶
type MockConnection struct {
// contains filtered or unexported fields
}
Mock of Connection interface
func NewMockConnection ¶
func NewMockConnection(ctrl *gomock.Controller) *MockConnection
func (*MockConnection) BindDelegate ¶
func (_m *MockConnection) BindDelegate(delegate ConnectionDelegate)
func (*MockConnection) Close ¶
func (_m *MockConnection) Close()
func (*MockConnection) EXPECT ¶
func (_m *MockConnection) EXPECT() *_MockConnectionRecorder
func (*MockConnection) SendBinary ¶
func (_m *MockConnection) SendBinary(bytes []byte)
func (*MockConnection) SendText ¶
func (_m *MockConnection) SendText(text string)
func (*MockConnection) UnbindDelegate ¶
func (_m *MockConnection) UnbindDelegate()
type MockConnectionDelegate ¶
type MockConnectionDelegate struct {
// contains filtered or unexported fields
}
Mock of ConnectionDelegate interface
func NewMockConnectionDelegate ¶
func NewMockConnectionDelegate(ctrl *gomock.Controller) *MockConnectionDelegate
func (*MockConnectionDelegate) EXPECT ¶
func (_m *MockConnectionDelegate) EXPECT() *_MockConnectionDelegateRecorder
func (*MockConnectionDelegate) OnBinary ¶
func (_m *MockConnectionDelegate) OnBinary(conn Connection, bytes []byte)
func (*MockConnectionDelegate) OnClosed ¶
func (_m *MockConnectionDelegate) OnClosed(conn Connection)
func (*MockConnectionDelegate) OnText ¶
func (_m *MockConnectionDelegate) OnText(conn Connection, text string)
type MockCtrlProxyDelegate ¶
type MockCtrlProxyDelegate struct {
// contains filtered or unexported fields
}
Mock of CtrlProxyDelegate interface
func NewMockCtrlProxyDelegate ¶
func NewMockCtrlProxyDelegate(ctrl *gomock.Controller) *MockCtrlProxyDelegate
func (*MockCtrlProxyDelegate) EXPECT ¶
func (_m *MockCtrlProxyDelegate) EXPECT() *_MockCtrlProxyDelegateRecorder
func (*MockCtrlProxyDelegate) OnCtrlBinary ¶
func (_m *MockCtrlProxyDelegate) OnCtrlBinary(proxy *CtrlProxy, bytes []byte)
func (*MockCtrlProxyDelegate) OnCtrlClosed ¶
func (_m *MockCtrlProxyDelegate) OnCtrlClosed(proxy *CtrlProxy)
func (*MockCtrlProxyDelegate) OnCtrlText ¶
func (_m *MockCtrlProxyDelegate) OnCtrlText(proxy *CtrlProxy, text string)
type MockCtrlReadyDelegate ¶
type MockCtrlReadyDelegate struct {
// contains filtered or unexported fields
}
Mock of CtrlReadyDelegate interface
func NewMockCtrlReadyDelegate ¶
func NewMockCtrlReadyDelegate(ctrl *gomock.Controller) *MockCtrlReadyDelegate
func (*MockCtrlReadyDelegate) EXPECT ¶
func (_m *MockCtrlReadyDelegate) EXPECT() *_MockCtrlReadyDelegateRecorder
func (*MockCtrlReadyDelegate) OnCtrlProxy ¶
func (_m *MockCtrlReadyDelegate) OnCtrlProxy(proxy *CtrlProxy)
type MockTargetProxyDelegate ¶
type MockTargetProxyDelegate struct {
// contains filtered or unexported fields
}
Mock of TargetProxyDelegate interface
func NewMockTargetProxyDelegate ¶
func NewMockTargetProxyDelegate(ctrl *gomock.Controller) *MockTargetProxyDelegate
func (*MockTargetProxyDelegate) EXPECT ¶
func (_m *MockTargetProxyDelegate) EXPECT() *_MockTargetProxyDelegateRecorder
func (*MockTargetProxyDelegate) OnTargetBinary ¶
func (_m *MockTargetProxyDelegate) OnTargetBinary(proxy *TargetProxy, bytes []byte)
func (*MockTargetProxyDelegate) OnTargetClosed ¶
func (_m *MockTargetProxyDelegate) OnTargetClosed(proxy *TargetProxy)
func (*MockTargetProxyDelegate) OnTargetText ¶
func (_m *MockTargetProxyDelegate) OnTargetText(proxy *TargetProxy, text string)
Click to show internal directories.
Click to hide internal directories.