dbus

package
v1.0.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 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 Client

type Client struct {
	// contains filtered or unexported fields
}

Client wraps a system-bus connection to systemd.

func Dial

func Dial() (*Client, error)

Dial connects to the system bus.

func (*Client) Close

func (c *Client) Close() error

Close releases the bus connection.

func (*Client) Start

func (c *Client) Start(unit string) error

Start a systemd unit

func (*Client) Stop

func (c *Client) Stop(unit string) error

Stop a systemd unit

Jump to

Keyboard shortcuts

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