stopper

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Description = "Stop iris application service"
	Name        = "stop"
)

Variables

This section is empty.

Functions

func New

func New() *console.Command

New creates a command instance.

Types

type Command

type Command struct {
	commands.Common
	// contains filtered or unexported fields
}

func (*Command) Before

func (o *Command) Before(_ context.Context, _ *console.Container, _ *console.Command) (err error)

Before check pid.

func (*Command) Run

func (o *Command) Run(_ context.Context, container *console.Container, _ *console.Command) (err error)

Run stopper command.

Jump to

Keyboard shortcuts

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