Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultWifiInterface = "wlan1"
Variables ¶
This section is empty.
Functions ¶
func OnAsk ¶
OnAsk gives you the option to accept or decline requests. If you don't define a callback, GoDrop will always decline requests
func OnFiles ¶
OnFiles will be called if GoDrop received ("AirDropped") files. air.Request shows you information about the sender. []*cpio.File contains the actual files.
func StartDiscover ¶
func StartReceiving ¶
func StartReceiving() error
StartReceiving starts the listening process for incoming files. OnAsk and OnFiles need to be called before StartReceiving
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.