nodeSym

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ListenToProtocol = func(protocol string, response *byte, responseSize uint32) (error errno.Error) {
	return 0
}
View Source
var ListenToProtocolSize = func(protocol string, responseSize *uint32) (error errno.Error) {
	return 0
}
View Source
var NewCommand = func(protocol, command string, id *uint32) (error errno.Error) {
	return 0
}
View Source
var ReadCommandResponse = func(id uint32, data *byte, dataSize uint32) (error errno.Error) {
	return 0
}
View Source
var SendCommand = func(id uint32, data *byte, dataSize uint32, responseSize *uint32) (error errno.Error) {
	return 0
}

Functions

func MockListen

func MockListen(listenHash, testProtocol string)

func MockNew

func MockNew(testProtocol, testCommand string, testId uint32)

Types

type MockData

type MockData struct {
	Protocol       string
	Command        string
	CommandId      uint32
	SendResponse   []byte
	SentData       []byte
	ListenHash     string
	ListenProtocol string
}

func (MockData) Mock

func (_m MockData) Mock() *MockData

func (*MockData) MockSend

func (m *MockData) MockSend()

Jump to

Keyboard shortcuts

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