mocks

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 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
}

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() (string, error)

LocalAddr provides a mock function with given fields:

func (*Conn) MsgChan

func (_m *Conn) MsgChan() chan *api.CastMessage

MsgChan provides a mock function with given fields:

func (*Conn) Send

func (_m *Conn) Send(requestID int, payload cast.Payload, sourceID string, destinationID string, namespace string) error

Send provides a mock function with given fields: requestID, payload, sourceID, destinationID, namespace

func (*Conn) SetDebug

func (_m *Conn) SetDebug(debug bool)

SetDebug provides a mock function with given fields: debug

func (*Conn) Start

func (_m *Conn) Start(addr string, port int) error

Start provides a mock function with given fields: addr, port

type Payload

type Payload struct {
	mock.Mock
}

Payload is an autogenerated mock type for the Payload type

func (*Payload) SetRequestId

func (_m *Payload) SetRequestId(id int)

SetRequestId provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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