Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2023 Changes in this version + type BSS struct + BSSID net.HardwareAddr + BeaconInterval time.Duration + Frequency int + LastSeen time.Duration + SSID string + Status BSSStatus + type BSSStatus int + const BSSStatusAssociated + const BSSStatusAuthenticated + const BSSStatusIBSSJoined + func (s BSSStatus) String() string + type Client struct + func New() (*Client, error) + func (c *Client) BSS(ifi *Interface) (*BSS, error) + func (c *Client) Close() error + func (c *Client) Connect(ifi *Interface, ssid string) error + func (c *Client) ConnectWPAPSK(ifi *Interface, ssid, psk string) error + func (c *Client) Disconnect(ifi *Interface) error + func (c *Client) Interfaces() ([]*Interface, error) + func (c *Client) StationInfo(ifi *Interface) ([]*StationInfo, error) + type Interface struct + Device int + Frequency int + HardwareAddr net.HardwareAddr + Index int + Name string + PHY int + Type InterfaceType + type InterfaceType int + const InterfaceTypeAP + const InterfaceTypeAPVLAN + const InterfaceTypeAdHoc + const InterfaceTypeMeshPoint + const InterfaceTypeMonitor + const InterfaceTypeNAN + const InterfaceTypeOCB + const InterfaceTypeP2PClient + const InterfaceTypeP2PDevice + const InterfaceTypeP2PGroupOwner + const InterfaceTypeStation + const InterfaceTypeUnspecified + const InterfaceTypeWDS + func (t InterfaceType) String() string + type StationInfo struct + BeaconLoss int + Connected time.Duration + HardwareAddr net.HardwareAddr + Inactive time.Duration + ReceiveBitrate int + ReceivedBytes int + ReceivedPackets int + Signal int + TransmitBitrate int + TransmitFailed int + TransmitRetries int + TransmittedBytes int + TransmittedPackets int