mocks

package
v0.0.0-...-8220f0d Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) Callback

func (_m *Service) Callback(p internal.Payload)

Callback provides a mock function with given fields: p

func (*Service) Websocket

func (_m *Service) Websocket(_a0 string, _a1 api.WriteMessageCloser) (int, error)

Websocket provides a mock function with given fields: _a0, _a1

type WSUpgrader

type WSUpgrader struct {
	mock.Mock
}

WSUpgrader is an autogenerated mock type for the WSUpgrader type

func (*WSUpgrader) Upgrade

Upgrade provides a mock function with given fields: w, r

type WriteMessageCloser

type WriteMessageCloser struct {
	mock.Mock
}

WriteMessageCloser is an autogenerated mock type for the WriteMessageCloser type

func (*WriteMessageCloser) Close

func (_m *WriteMessageCloser) Close() error

Close provides a mock function with given fields:

func (*WriteMessageCloser) WriteMessage

func (_m *WriteMessageCloser) WriteMessage(_a0 int, _a1 []byte) error

WriteMessage provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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