mock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUDPconnection

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

MockUDPconnection is a mock of UDPconnection interface.

func NewMockUDPconnection

func NewMockUDPconnection(ctrl *gomock.Controller) *MockUDPconnection

NewMockUDPconnection creates a new mock instance.

func (*MockUDPconnection) Close

func (m *MockUDPconnection) Close() error

Close mocks base method.

func (*MockUDPconnection) EXPECT

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

func (*MockUDPconnection) ReadFromUDP

func (m *MockUDPconnection) ReadFromUDP(b []byte) (int, *net.UDPAddr, error)

ReadFromUDP mocks base method.

func (*MockUDPconnection) Write

func (m *MockUDPconnection) Write(b []byte) (int, error)

Write mocks base method.

type MockUDPconnectionMockRecorder

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

MockUDPconnectionMockRecorder is the mock recorder for MockUDPconnection.

func (*MockUDPconnectionMockRecorder) Close

Close indicates an expected call of Close.

func (*MockUDPconnectionMockRecorder) ReadFromUDP

func (mr *MockUDPconnectionMockRecorder) ReadFromUDP(b interface{}) *gomock.Call

ReadFromUDP indicates an expected call of ReadFromUDP.

func (*MockUDPconnectionMockRecorder) Write

func (mr *MockUDPconnectionMockRecorder) Write(b interface{}) *gomock.Call

Write indicates an expected call of Write.

Jump to

Keyboard shortcuts

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