signal

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

监听进程退出信号,具体信息,查看Linux的signal

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignalConfig

type SignalConfig struct {
	Enable bool `mapstructure:"enable" json:"enable" yaml:"enable"` // 是否开启
}

func (SignalConfig) Load

func (s SignalConfig) Load()

Jump to

Keyboard shortcuts

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