Documentation ¶
Index ¶
- type WPAController
- func (c *WPAController) AddNetwork() (int, error)
- func (c *WPAController) Cleanup()
- func (c *WPAController) DisableNetwork(networkId int) error
- func (c *WPAController) EnableNetwork(networkId int) error
- func (c *WPAController) GetNetworkSetting(networkId int, variable string) (string, error)
- func (c *WPAController) Initialise() error
- func (c *WPAController) ListNetworks() ([]WPANetwork, error)
- func (c *WPAController) ReloadConfiguration() error
- func (c *WPAController) RemoveNetwork(networkId int) error
- func (c *WPAController) SaveConfiguration() error
- func (c *WPAController) SelectNetwork(networkId int) error
- func (c *WPAController) SendCommand(command string) (string, error)
- func (c *WPAController) SendCommandBool(command string) error
- func (c *WPAController) SendCommandInt(command string) (int, error)
- func (c *WPAController) SetNetworkSettingRaw(networkId int, variable string, value string) error
- func (c *WPAController) SetNetworkSettingString(networkId int, variable string, value string) error
- type WPAEvent
- type WPANetwork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WPAController ¶
type WPAController struct { Interface string EventChannel chan WPAEvent // contains filtered or unexported fields }
func NewController ¶
func NewController(iface string) (*WPAController, error)
func (*WPAController) AddNetwork ¶
func (c *WPAController) AddNetwork() (int, error)
func (*WPAController) Cleanup ¶
func (c *WPAController) Cleanup()
func (*WPAController) DisableNetwork ¶
func (c *WPAController) DisableNetwork(networkId int) error
func (*WPAController) EnableNetwork ¶
func (c *WPAController) EnableNetwork(networkId int) error
func (*WPAController) GetNetworkSetting ¶
func (c *WPAController) GetNetworkSetting(networkId int, variable string) (string, error)
func (*WPAController) Initialise ¶
func (c *WPAController) Initialise() error
func (*WPAController) ListNetworks ¶
func (c *WPAController) ListNetworks() ([]WPANetwork, error)
func (*WPAController) ReloadConfiguration ¶
func (c *WPAController) ReloadConfiguration() error
func (*WPAController) RemoveNetwork ¶
func (c *WPAController) RemoveNetwork(networkId int) error
func (*WPAController) SaveConfiguration ¶
func (c *WPAController) SaveConfiguration() error
func (*WPAController) SelectNetwork ¶
func (c *WPAController) SelectNetwork(networkId int) error
func (*WPAController) SendCommand ¶
func (c *WPAController) SendCommand(command string) (string, error)
func (*WPAController) SendCommandBool ¶
func (c *WPAController) SendCommandBool(command string) error
func (*WPAController) SendCommandInt ¶
func (c *WPAController) SendCommandInt(command string) (int, error)
func (*WPAController) SetNetworkSettingRaw ¶
func (c *WPAController) SetNetworkSettingRaw(networkId int, variable string, value string) error
func (*WPAController) SetNetworkSettingString ¶
func (c *WPAController) SetNetworkSettingString(networkId int, variable string, value string) error
Click to show internal directories.
Click to hide internal directories.