mocks

package
v0.0.0-...-88e45ca Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	mock.Mock
}

Handler is an autogenerated mock type for the Handler type

func (*Handler) Handle

func (_m *Handler) Handle(src interface{}, msg interface{}) error

Handle provides a mock function with given fields: src, msg

type XMPPClient

type XMPPClient struct {
	mock.Mock
}

XMPPClient is an autogenerated mock type for the XMPPClient type

func (*XMPPClient) Close

func (_m *XMPPClient) Close() error

Close provides a mock function with given fields:

func (*XMPPClient) PingC2S

func (_m *XMPPClient) PingC2S(jid string, server string) error

PingC2S provides a mock function with given fields: jid, server

func (*XMPPClient) Recv

func (_m *XMPPClient) Recv() (interface{}, error)

Recv provides a mock function with given fields:

func (*XMPPClient) SendOrg

func (_m *XMPPClient) SendOrg(org string) (int, error)

SendOrg provides a mock function with given fields: org

type XMPPClientFactory

type XMPPClientFactory struct {
	mock.Mock
}

XMPPClientFactory is an autogenerated mock type for the XMPPClientFactory type

func (*XMPPClientFactory) NewXMPPClient

func (_m *XMPPClientFactory) NewXMPPClient(host string, user string, passwd string) (xmpp.XMPPClient, error)

NewXMPPClient provides a mock function with given fields: host, user, passwd

Jump to

Keyboard shortcuts

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