callback

package
v0.0.0-...-7a59755 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

type Callback func(eventCode uint64, data []byte, tag uint64)

Callback is the prototype for functions that will be called when a reply to an registered event type is received.

For the tag value, the top byte indicates the data type of the data (either string, 0, or number, 1) and the remaining 7 bytes are the actual tag value.

Jump to

Keyboard shortcuts

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