polld

package
v0.0.0-...-2fed64a Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: GPL-3.0, GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package polld wraps the account-polld dbus interface

Index

Constants

This section is empty.

Variables

View Source
var BusAddress bus.Address = bus.Address{
	Interface: "com.ubuntu.AccountPolld",
	Path:      "/com/ubuntu/AccountPolld",
	Name:      "com.ubuntu.AccountPolld",
}

polld lives on a well-known bus.Address

View Source
var (
	ErrUnconfigured = errors.New("unconfigured.")
)

Functions

This section is empty.

Types

type Polld

type Polld interface {
	Poll() error
	WatchDones() (<-chan bool, error)
}

func New

func New(endp bus.Endpoint, log logger.Logger) Polld

Jump to

Keyboard shortcuts

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