service_trigger

package
v0.0.0-...-61f35a2 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tr

func Tr(in string) string

Types

type DBusAgentConfig

type DBusAgentConfig struct {
	Name             string
	Dest             string
	Interface        string
	Path             dbus.ObjectPath
	RegisterMethod   string
	RegisterDelaySec int

	AgentInterface string
	AgentPath      dbus.ObjectPath
	AgentMethods   []DBusAgentMethod
}

type DBusAgentMethod

type DBusAgentMethod struct {
	Name string
	// contains filtered or unexported fields
}

type DBusSignalMonitor

type DBusSignalMonitor struct {
	Type uint
	// contains filtered or unexported fields
}

type Daemon

type Daemon struct {
	*loader.ModuleBase
	// contains filtered or unexported fields
}

func NewDaemon

func NewDaemon() *Daemon

func (*Daemon) GetDependencies

func (*Daemon) GetDependencies() []string

func (*Daemon) Start

func (d *Daemon) Start() error

func (*Daemon) Stop

func (d *Daemon) Stop() error

type Manager

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

type Service

type Service struct {
	Monitor ServiceMonitor

	Name        string
	Description string
	Exec        []string
	// contains filtered or unexported fields
}

func (*Service) String

func (service *Service) String() string

type ServiceMonitor

type ServiceMonitor struct {
	Type string
	DBus *ServiceMonitorDBus
}

type ServiceMonitorDBus

type ServiceMonitorDBus struct {
	BusType   string // System or Session
	Sender    string
	Interface string
	Signal    string
	Path      string // optional
}

ServiceMonitorDBus type DBus

Jump to

Keyboard shortcuts

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