Documentation ¶
Index ¶
- Variables
- type Network
- func (n *Network) ActivateConnection(conn nm.Connection, device nm.Device, bdaddr string) error
- func (n *Network) ActivateExistingConnection(connType, bdaddr string) (bool, error)
- func (n *Network) Connect(name, connType, bdaddr string) error
- func (n *Network) CreateConnection(name, connType, bdaddr string) error
- func (n *Network) DeactivateConnection(bdaddr string) error
- func (n *Network) IsConnectionActive(connType, bdaddr string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct { Manager nm.NetworkManager ActiveConnection map[string]nm.ActiveConnection // contains filtered or unexported fields }
Network holds the network manager and active connections.
func (*Network) ActivateConnection ¶
ActivateConnection activates the connection.
func (*Network) ActivateExistingConnection ¶
ActivateExistingConnection activates an existing device connection profile.
func (*Network) CreateConnection ¶
CreateConnection creates a new connection.
func (*Network) DeactivateConnection ¶
DeactivateConnection deactivates the connection.
Click to show internal directories.
Click to hide internal directories.