svcmgr

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package svcmgr contains integration for managing services on a machine.

Currently supported service managers are systemd, circus, sysv, and dummy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	RestartService(service string) error
	ReloadService(service string) error
}

The Manager interface provides a common API for interacting with service managers.

func New

func New(name string) (Manager, error)

New returns a new service manager.

Jump to

Keyboard shortcuts

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