api

package
v0.0.0-...-602244f Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy interface {
	GetPath() string
	SetPath(s string)

	GetInterface() string
	SetInterface(s string)

	SetLogger(logger *log.Logger)
	GetLogger() *log.Logger

	GetProperties() map[string]map[string]*prop.Prop
}

Proxy object that can be exposed as DBus service

type Service

type Service interface {
	New() error
	Connect() error
	Export() error
	Start() error
	Stop() error

	GetObject() *Proxy
	SetObject(p *Proxy)

	GetPath() string
	SetPath(path string)

	GetInterface() string
	SetInterface(iface string)
}

Service generic daemon interface

Jump to

Keyboard shortcuts

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