Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnection ¶
MockConnection is an autogenerated mock type for the Connection type
func NewMockConnection ¶
func NewMockConnection(t mockConstructorTestingTNewMockConnection) *MockConnection
NewMockConnection creates a new instance of MockConnection. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockConnection) RemoteAddr ¶
func (_m *MockConnection) RemoteAddr() net.Addr
RemoteAddr provides a mock function with given fields:
func (*MockConnection) Send ¶
func (_m *MockConnection) Send(ctx context.Context, message *protobufs.ServerToAgent) error
Send provides a mock function with given fields: ctx, message
Click to show internal directories.
Click to hide internal directories.