mocks

package
Version: v0.0.0-...-45f56e5 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 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
}

func (*Conn) Close

func (_m *Conn) Close() error

func (*Conn) LocalAddr

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

func (*Conn) Read

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

func (*Conn) RemoteAddr

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

func (*Conn) SetDeadline

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

func (*Conn) SetReadDeadline

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

func (*Conn) SetWriteDeadline

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

func (*Conn) Write

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

type Dialer

type Dialer struct {
	mock.Mock
}

func (*Dialer) Dial

func (_m *Dialer) Dial(network, address string) (net.Conn, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL