Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressQR ¶
func NetworkCode ¶
func NetworkCode(ns NetworkSetting) string
func QRNetworkCode ¶
func QRNetworkCode(ns NetworkSetting) (qrcode.QRCode, error)
Types ¶
type NetworkSetting ¶
type NetworkSetting struct { Ssid []byte Id string Sec string // WPA or WEP IsPsk bool IsHidden bool Key string DbusId int }
func GetNetworkSettings ¶
func GetNetworkSettings(settingsId int, conn *dbus.Conn) (NetworkSetting, error)
func NewNetworkSetting ¶
func NewNetworkSetting(callbody interface{}) (NetworkSetting, error)
func (*NetworkSetting) AddNetworkSecrets ¶
func (ns *NetworkSetting) AddNetworkSecrets(callbody interface{}) error
Click to show internal directories.
Click to hide internal directories.