Documentation ¶
Index ¶
Constants ¶
View Source
const PluginName string = "service"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurer ¶
type Process ¶
Process structure contains an information about process, restart information, log, errors, etc
func NewServiceProcess ¶
NewServiceProcess constructs service process structure
type Service ¶
type Service struct { Command string `mapstructure:"command"` UseServiceName bool `mapstructure:"service_name_in_log"` ProcessNum int `mapstructure:"process_num"` ExecTimeout time.Duration `mapstructure:"exec_timeout"` RemainAfterExit bool `mapstructure:"remain_after_exit"` RestartSec uint64 `mapstructure:"restart_sec"` Env Env `mapstructure:"env"` }
Service represents particular service configuration
Click to show internal directories.
Click to hide internal directories.