event

package
v0.0.0-...-e616751 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionChange

type ConnectionChange struct {
	Address   bt.Address
	Connected bool
}

type ConnectionChangeFunc

type ConnectionChangeFunc func(ConnectionChange)

StatusEventFunc is a convenience type for implementing the StatusEventListener interface with a function.

func (ConnectionChangeFunc) OnConnectionChange

func (f ConnectionChangeFunc) OnConnectionChange(c ConnectionChange)

type ConnectionChangeListener

type ConnectionChangeListener interface {
	OnConnectionChange(ConnectionChange)
}

Jump to

Keyboard shortcuts

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