mocksocketcan

package
v0.0.0-...-d0567cd Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocksocketcan is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mockfile

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

Mockfile is a mock of file interface.

func NewMockfile

func NewMockfile(ctrl *gomock.Controller) *Mockfile

NewMockfile creates a new mock instance.

func (*Mockfile) Close

func (m *Mockfile) Close() error

Close mocks base method.

func (*Mockfile) EXPECT

func (m *Mockfile) EXPECT() *MockfileMockRecorder

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

func (*Mockfile) Read

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

Read mocks base method.

func (*Mockfile) SetDeadline

func (m *Mockfile) SetDeadline(arg0 time.Time) error

SetDeadline mocks base method.

func (*Mockfile) SetReadDeadline

func (m *Mockfile) SetReadDeadline(arg0 time.Time) error

SetReadDeadline mocks base method.

func (*Mockfile) SetWriteDeadline

func (m *Mockfile) SetWriteDeadline(arg0 time.Time) error

SetWriteDeadline mocks base method.

func (*Mockfile) Write

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

Write mocks base method.

type MockfileMockRecorder

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

MockfileMockRecorder is the mock recorder for Mockfile.

func (*MockfileMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockfileMockRecorder) Read

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

Read indicates an expected call of Read.

func (*MockfileMockRecorder) SetDeadline

func (mr *MockfileMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call

SetDeadline indicates an expected call of SetDeadline.

func (*MockfileMockRecorder) SetReadDeadline

func (mr *MockfileMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call

SetReadDeadline indicates an expected call of SetReadDeadline.

func (*MockfileMockRecorder) SetWriteDeadline

func (mr *MockfileMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call

SetWriteDeadline indicates an expected call of SetWriteDeadline.

func (*MockfileMockRecorder) Write

func (mr *MockfileMockRecorder) Write(arg0 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