mocks

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	mock.Mock
}

Conn is an autogenerated mock type for the Conn type

func (*Conn) Close

func (_m *Conn) Close() error

Close provides a mock function with given fields:

func (*Conn) LocalAddr

func (_m *Conn) LocalAddr() net.Addr

LocalAddr provides a mock function with given fields:

func (*Conn) Read

func (_m *Conn) Read(b []byte) (int, error)

Read provides a mock function with given fields: b

func (*Conn) RemoteAddr

func (_m *Conn) RemoteAddr() net.Addr

RemoteAddr provides a mock function with given fields:

func (*Conn) SetDeadline

func (_m *Conn) SetDeadline(t time.Time) error

SetDeadline provides a mock function with given fields: t

func (*Conn) SetReadDeadline

func (_m *Conn) SetReadDeadline(t time.Time) error

SetReadDeadline provides a mock function with given fields: t

func (*Conn) SetWriteDeadline

func (_m *Conn) SetWriteDeadline(t time.Time) error

SetWriteDeadline provides a mock function with given fields: t

func (*Conn) Write

func (_m *Conn) Write(b []byte) (int, error)

Write provides a mock function with given fields: b

Jump to

Keyboard shortcuts

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