Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessPoint ¶
type AccessPoint struct { IfaceName string WifiIface string IPRange net.IPNet Dns net.IP Ssid string Password string HostapdCFG string InternetIface string }
func (*AccessPoint) CleanupAP ¶
func (AP *AccessPoint) CleanupAP(HostapdCmd *exec.Cmd, dhcpPacketConn net.PacketConn, wifidev *networkHandler.WifiDevice) (err error)
func (*AccessPoint) CreateAP ¶
func (AP *AccessPoint) CreateAP(ctx context.Context, wg *sync.WaitGroup, hostapdOptions []hostapd.HostapdOption) error
Click to show internal directories.
Click to hide internal directories.