mocks

package
v0.0.0-...-76e43ad Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUDPConn

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

MockUDPConn is a mock of UDPConn interface

func NewMockUDPConn

func NewMockUDPConn(ctrl *gomock.Controller) *MockUDPConn

NewMockUDPConn creates a new mock instance

func (*MockUDPConn) Close

func (m *MockUDPConn) Close() error

Close mocks base method

func (*MockUDPConn) EXPECT

func (m *MockUDPConn) EXPECT() *MockUDPConnMockRecorder

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

func (*MockUDPConn) Read

func (m *MockUDPConn) Read(arg0 []byte) (int, error)

Read mocks base method

func (*MockUDPConn) Write

func (m *MockUDPConn) Write(arg0 []byte) (int, error)

Write mocks base method

func (*MockUDPConn) WriteToUDP

func (m *MockUDPConn) WriteToUDP(arg0 []byte, arg1 *net.UDPAddr) (int, error)

WriteToUDP mocks base method

type MockUDPConnMockRecorder

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

MockUDPConnMockRecorder is the mock recorder for MockUDPConn

func (*MockUDPConnMockRecorder) Close

func (mr *MockUDPConnMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockUDPConnMockRecorder) Read

func (mr *MockUDPConnMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockUDPConnMockRecorder) Write

func (mr *MockUDPConnMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

func (*MockUDPConnMockRecorder) WriteToUDP

func (mr *MockUDPConnMockRecorder) WriteToUDP(arg0, arg1 interface{}) *gomock.Call

WriteToUDP indicates an expected call of WriteToUDP

Jump to

Keyboard shortcuts

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