service_internal

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CaddyRegister

func CaddyRegister(register bool, service_name string) error

func Cleanup

func Cleanup(service_name string) error

func StartOrReload added in v0.0.25

func StartOrReload(service_name string, opts StartOrReloadOpts) error

func Stop

func Stop(service_name string) error

func Template

func Template(service_name string, template string) error

Types

type StartOrReloadOpts added in v0.0.27

type StartOrReloadOpts struct {
	Restart            bool
	WantsFresh         bool
	MaxDeploymentIndex int
	StopTimeout        time.Duration
	TermTimeout        time.Duration
}

Jump to

Keyboard shortcuts

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