dbus

package
v0.0.0-...-dbc11f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2019 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AddNotify

func AddNotify(L *lua.LState, t *lua.LTable)

AddNotify adds the notify library

func AddObject

func AddObject(L *lua.LState, t *lua.LTable)

AddObject adds a DBUS object to lua

func AddSecret

func AddSecret(L *lua.LState, t *lua.LTable)

AddSecret adds the SecretService keyring API

func GetConnection

func GetConnection(L *lua.LState) (*dbus.Conn, error)

GetConnection returns a dbus connection to the session bus

func Loader

func Loader(L *lua.LState) int

Loader is the module loader function.

func Preload

func Preload(L *lua.LState)

Preload adds plugin to the given Lua state's package.preload table. After it has been preloaded, it can be loaded using require:

local plugin = require("plugin")

func PreloadWithName

func PreloadWithName(name string, L *lua.LState)

Types

type Binding

type Binding struct{}

Binding implements plugin.Binding

func (Binding) Preload

func (Binding) Preload(L *lua.LState) error

Preload preloads the dbus module

type Object

type Object struct {
	dbus.BusObject
	L *lua.LState
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL