Documentation ¶
Index ¶
- type Ap
- func (a *Ap) ConnectToNetwork(ssid, key string) error
- func (a *Ap) DnsMasqCmd() *exec.Cmd
- func (a *Ap) EnsureEthernetStaticIP(ipWithMask string) error
- func (a *Ap) EnsureWpaNetworkAdded() (string, error)
- func (a *Ap) GetConnectedSSID() (string, error)
- func (a *Ap) ScanNetworks() ([]*WpaNetwork, error)
- func (a *Ap) StartDnsmasq(ctx context.Context) error
- func (a *Ap) StartWpaSupplicant(ctx context.Context) error
- func (a *Ap) StopDnsmasq() error
- func (a *Ap) StopWpaSupplicant() error
- func (a *Ap) WpaCmd() *exec.Cmd
- func (a *Ap) WpaConnectedToWifi() (bool, error)
- func (a *Ap) WpaIsAp() (bool, error)
- type WpaNetwork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ap ¶
type Ap struct { EthernetInterfaceName string // contains filtered or unexported fields }
func (*Ap) ConnectToNetwork ¶
func (*Ap) DnsMasqCmd ¶
func (*Ap) EnsureEthernetStaticIP ¶
func (*Ap) EnsureWpaNetworkAdded ¶
func (*Ap) GetConnectedSSID ¶
func (*Ap) ScanNetworks ¶
func (a *Ap) ScanNetworks() ([]*WpaNetwork, error)
func (*Ap) StopDnsmasq ¶
func (*Ap) StopWpaSupplicant ¶
func (*Ap) WpaConnectedToWifi ¶
Click to show internal directories.
Click to hide internal directories.