Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Display helpful logs DebugMode bool // Define the name of your AirDrop receiver device. // Will show up on the receiver list of other devices. HostName string // Specify your target Wifi interface OWL should listen to. // Default is `wlan1`. This device MUST support Active Monitor Mode. // Take a look at https://github.com/Binozo/GoDrop for more help. WifiInterface string // You can define which information should be advertised // through BLE. You can ignore this. Doesn't change anything. // Because we don't use real Apple TLS certificates. Account account.AppleAccount }
Config helps you to adjust GoDrop
type File ¶
type File struct { FileName string // Defines the folder structure. // Could look like this: "./myDirectory" // or "./myDirectory/data" FileBomPath string // Defines if this element is a directory IsDirectory bool }
File Represents an AirDrop file. Is either a file or a directory.
type Receiver ¶
type Receiver struct { ReceiverName string IP net.IP Port int // Defines the time of finding this receiver // It defines how long a device is "visible" Timestamp time.Time }
Receiver defines a receiver to which you can "airdrop"
type Request ¶
type Request struct { // Defines the sender's IPv6 address SenderIP string // Defines the sender application. // Example: com.apple.finder SenderApplication string // Defines the sender name. SenderComputerName string // Unique identifier of the sender. SenderID string // Defines the sender product model. SenderModelName string // Preview icon for the to-be-sent file. // If imagick is installed on the system the .png format will be sent. // Otherwise, empty byte slice FileIcon []byte // The collection of the files from this request. Files []File }
Click to show internal directories.
Click to hide internal directories.