service

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StartCmd = &cobra.Command{
		Use:   "start",
		Short: "Start the ghost service",
		Run:   RunStartService,
	}
)
View Source
var (
	StatusCmd = &cobra.Command{
		Use:   "status",
		Short: "Show whether the ghost service is running other stats",
		Run:   RunServiceStatus,
	}
)
View Source
var (
	StopCmd = &cobra.Command{
		Use:   "stop",
		Short: "Stop the ghost service",
		Run:   RunStopService,
	}
)

Functions

func RunServiceStatus added in v0.3.0

func RunServiceStatus(cmd *cobra.Command, args []string)

func RunStartService

func RunStartService(cmd *cobra.Command, args []string)

func RunStopService

func RunStopService(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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