Versions in this module Expand all Collapse all v0 v0.1.0 May 13, 2019 Changes in this version + const AccessPointInterface + const AccessPointPropertyFlags + const AccessPointPropertyFrequency + const AccessPointPropertyHWAddress + const AccessPointPropertyMaxBitrate + const AccessPointPropertyMode + const AccessPointPropertyRSNFlags + const AccessPointPropertySSID + const AccessPointPropertyStrength + const AccessPointPropertyWPAFlags + const ActiveConnectionInterface + const ActiveConnectionProperyConnection + const ActiveConnectionProperyDHCP4Config + const ActiveConnectionProperyDefault + const ActiveConnectionProperyDefault6 + const ActiveConnectionProperyDevices + const ActiveConnectionProperyID + const ActiveConnectionProperyIP4Config + const ActiveConnectionProperyMaster + const ActiveConnectionProperySpecificObject + const ActiveConnectionProperyState + const ActiveConnectionProperyStateFlags + const ActiveConnectionProperyType + const ActiveConnectionProperyUUID + const ActiveConnectionProperyVPN + const ConnectionGetSettings + const ConnectionInterface + const DHCP4ConfigInterface + const DHCP4ConfigPropertyOptions + const DeviceInterface + const DevicePropertyAvailableConnections + const DevicePropertyDeviceType + const DevicePropertyDhcp4Config + const DevicePropertyIP4Config + const DevicePropertyInterface + const DevicePropertyIpInterface + const DevicePropertyState + const IP4ConfigInterface + const IP4ConfigPropertyAddresses + const IP4ConfigPropertyDomains + const IP4ConfigPropertyNameservers + const IP4ConfigPropertyRoutes + const NetworkManagerActivateConnection + const NetworkManagerAddAndActivateConnection + const NetworkManagerGetDevices + const NetworkManagerInterface + const NetworkManagerObjectPath + const NetworkManagerPropertyActiveConnection + const NetworkManagerPropertyState + const SettingsAddConnection + const SettingsInterface + const SettingsListConnections + const SettingsObjectPath + const WirelessDeviceGetAccessPoints + const WirelessDeviceInterface + const WirelessDeviceRequestScan + type AccessPoint interface + GetFlags func() uint32 + GetFrequency func() uint32 + GetHWAddress func() string + GetMaxBitrate func() uint32 + GetMode func() Nm80211Mode + GetPath func() dbus.ObjectPath + GetRSNFlags func() uint32 + GetSSID func() string + GetStrength func() uint8 + GetWPAFlags func() uint32 + MarshalJSON func() ([]byte, error) + func NewAccessPoint(objectPath dbus.ObjectPath) (AccessPoint, error) + type ActiveConnection interface + GetConnection func() Connection + GetDHCP4Config func() DHCP4Config + GetDefault func() bool + GetDevices func() []Device + GetID func() string + GetIP4Config func() IP4Config + GetMaster func() Device + GetSpecificObject func() AccessPoint + GetState func() uint32 + GetStateFlags func() uint32 + GetType func() string + GetUUID func() string + GetVPN func() bool + func NewActiveConnection(objectPath dbus.ObjectPath) (ActiveConnection, error) + type Connection interface + GetPath func() dbus.ObjectPath + GetSettings func() ConnectionSettings + MarshalJSON func() ([]byte, error) + func NewConnection(objectPath dbus.ObjectPath) (Connection, error) + type ConnectionSettings map[string]map[string]interface + type DHCP4Config interface + GetOptions func() DHCP4Options + MarshalJSON func() ([]byte, error) + func NewDHCP4Config(objectPath dbus.ObjectPath) (DHCP4Config, error) + type DHCP4Options map[string]interface + type Device interface + GetAvailableConnections func() []Connection + GetDHCP4Config func() DHCP4Config + GetDeviceType func() NmDeviceType + GetIP4Config func() IP4Config + GetInterface func() string + GetIpInterface func() string + GetPath func() dbus.ObjectPath + GetState func() NmDeviceState + MarshalJSON func() ([]byte, error) + func DeviceFactory(objectPath dbus.ObjectPath) (Device, error) + func NewDevice(objectPath dbus.ObjectPath) (Device, error) + type IP4Address struct + Address string + Gateway string + Prefix uint8 + type IP4Config interface + GetAddresses func() []IP4Address + GetDomains func() []string + GetNameservers func() []string + GetRoutes func() []IP4Route + MarshalJSON func() ([]byte, error) + func NewIP4Config(objectPath dbus.ObjectPath) (IP4Config, error) + type IP4Route struct + Metric uint8 + NextHop string + Prefix uint8 + Route string + type NetworkManager interface + ActivateWirelessConnection func(connection Connection, device Device, accessPoint AccessPoint) ActiveConnection + AddAndActivateWirelessConnection func(connection map[string]map[string]interface{}, device Device, ...) (ac ActiveConnection, err error) + GetActiveConnections func() []ActiveConnection + GetDevices func() []Device + GetState func() NmState + MarshalJSON func() ([]byte, error) + Subscribe func() <-chan *dbus.Signal + Unsubscribe func() + func NewNetworkManager() (NetworkManager, error) + type Nm80211APFlags uint32 + const Nm80211APFlagsNone + const Nm80211APFlagsPrivacy + func (i Nm80211APFlags) String() string + type Nm80211APSec uint32 + const Nm80211APSecGroupCCMP + const Nm80211APSecGroupTKIP + const Nm80211APSecGroupWEP104 + const Nm80211APSecGroupWEP40 + const Nm80211APSecKeyMgmt8021X + const Nm80211APSecKeyMgmtPSK + const Nm80211APSecNone + const Nm80211APSecPairCCMP + const Nm80211APSecPairTKIP + const Nm80211APSecPairWEP104 + const Nm80211APSecPairWEP40 + func (i Nm80211APSec) String() string + type Nm80211Mode uint32 + const Nm80211ModeAdhoc + const Nm80211ModeAp + const Nm80211ModeInfra + const Nm80211ModeUnknown + func (i Nm80211Mode) String() string + type NmConnectivity uint32 + const NmConnectivityFull + const NmConnectivityLimited + const NmConnectivityNone + const NmConnectivityPortal + const NmConnectivityUnknown + func (i NmConnectivity) String() string + type NmDeviceState uint32 + const NmDeviceStateActivated + const NmDeviceStateConfig + const NmDeviceStateDeactivating + const NmDeviceStateDisconnected + const NmDeviceStateFailed + const NmDeviceStateIp_check + const NmDeviceStateIp_config + const NmDeviceStateNeed_auth + const NmDeviceStatePrepare + const NmDeviceStateSecondaries + const NmDeviceStateUnavailable + const NmDeviceStateUnknown + const NmDeviceStateUnmanaged + func (i NmDeviceState) String() string + type NmDeviceType uint32 + const NmDeviceTypeAdsl + const NmDeviceTypeBond + const NmDeviceTypeBridge + const NmDeviceTypeBt + const NmDeviceTypeEthernet + const NmDeviceTypeGeneric + const NmDeviceTypeInfiniband + const NmDeviceTypeModem + const NmDeviceTypeOlpcMesh + const NmDeviceTypeTeam + const NmDeviceTypeUnknown + const NmDeviceTypeUnused1 + const NmDeviceTypeUnused2 + const NmDeviceTypeVlan + const NmDeviceTypeWifi + const NmDeviceTypeWimax + func (i NmDeviceType) String() string + type NmState uint32 + const NmStateAsleep + const NmStateConnectedGlobal + const NmStateConnectedLocal + const NmStateConnectedSite + const NmStateConnecting + const NmStateDisconnected + const NmStateDisconnecting + const NmStateUnknown + func (i NmState) String() string + type Settings interface + AddConnection func(settings ConnectionSettings) Connection + ListConnections func() []Connection + func NewSettings() (Settings, error) + type WirelessDevice interface + GetAccessPoints func() []AccessPoint + RequestScan func() + func NewWirelessDevice(objectPath dbus.ObjectPath) (WirelessDevice, error)