Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Advertisement ¶
type Handler ¶
type Handler interface {
Handle(advert Advertisement)
}
Handler handlers BLE advertisements.
func FanoutHandler ¶
FanoutHandler sends adverts to every provided handler.
type HandlerFunc ¶
type HandlerFunc func(advert Advertisement)
func (HandlerFunc) Handle ¶
func (f HandlerFunc) Handle(advert Advertisement)
Click to show internal directories.
Click to hide internal directories.