Documentation ¶
Index ¶
- type DBusProxy
- func (dbp *DBusProxy) Close()
- func (dbp *DBusProxy) Serve(frontend *api.FrontendClient) error
- func (dbp *DBusProxy) WirelessConnect(msg string) (int32, *dbus.Error)
- func (dbp *DBusProxy) WirelessConnectWithSaved(ssid string) (bool, *dbus.Error)
- func (dbp *DBusProxy) WirelessDisconnect() *dbus.Error
- func (dbp *DBusProxy) WirelessGetProperties() (string, *dbus.Error)
- type Proxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBusProxy ¶
type DBusProxy struct {
// contains filtered or unexported fields
}
DBusProxy is a UIProxy for a UI with DBus capabilities.
func NewDBusProxy ¶
func NewDBusProxy(ftype api.InterfaceType) (*DBusProxy, error)
NewDBusProxy returns a new dbus proxy.
func (*DBusProxy) Serve ¶
func (dbp *DBusProxy) Serve(frontend *api.FrontendClient) error
Serve starts the dbus proxy for the given frontend.
func (*DBusProxy) WirelessConnect ¶
WirelessConnect provides a DBus method to netctlfront.WirelessConnect.
func (*DBusProxy) WirelessConnectWithSaved ¶
WirelessConnectWithSaved provides a DBus method to netctlfront.WirelessConnectWithSaved.
func (*DBusProxy) WirelessDisconnect ¶
WirelessDisconnect provides a DBus method to netctlfront.WirelessDisconnect.
type Proxy ¶
type Proxy interface { Serve(client *api.FrontendClient) error Close() }
Proxy acts as a proxy between some UI and a netctl frontend.
Click to show internal directories.
Click to hide internal directories.