service_trigger

package
v0.0.0-...-520a03a Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: GPL-3.0 Imports: 11 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 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

func (*Daemon) WaitEnable

func (d *Daemon) WaitEnable()

type Manager

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

type Service

type Service struct {
	Monitor struct {
		Type string
		DBus *struct {
			BusType   string // System or Session
			Sender    string
			Interface string
			Signal    string
			Path      string // optional
		}
	}

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

func (*Service) String

func (service *Service) String() string

Jump to

Keyboard shortcuts

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