awdl

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const AirDropPort = 8772
View Source
const AirDropService = "_airdrop._tcp"

Variables

View Source
var AskAcceptResponse []byte
View Source
var DiscoverResponse []byte

Functions

func Init

func Init(hostname string)

Init fixed responses for the webserver Nothing wild here

func RegisterService

func RegisterService(hostname string) error

RegisterService registers the required mDNS service through the network provided by OWL Without this no AirDrop sender would be able to "see" you

func ShutdownService

func ShutdownService()

func StartDiscover

func StartDiscover() error

Discover discovers other AirDrop receiver (mDNS service)

func StopDiscover

func StopDiscover()

StopDiscover stops discovering AirDrop receiver (mDNS service)

Types

This section is empty.

Jump to

Keyboard shortcuts

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