Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Path string `json:"path,omitempty"`
Args jsonx.Strings `json:"args,omitempty"`
Env jsonx.Strings `json:"env,omitempty"`
InheritEnv bool `json:"inherit_env,omitempty"`
Dir string `json:"dir,omitempty"`
Log LogConfig `json:"log"`
Restart RestartConfig `json:"restart"`
WaitDelay jsonx.Duration `json:"wait_delay,omitempty"`
}
type LogConfig ¶
type LogConfig logConfig
func (LogConfig) MarshalJSON ¶
func (*LogConfig) UnmarshalJSON ¶
type Program ¶
type Program struct {
// contains filtered or unexported fields
}
type RestartConfig ¶
type RestartConfig restartConfig
func (RestartConfig) MarshalJSON ¶
func (p RestartConfig) MarshalJSON() ([]byte, error)
func (*RestartConfig) UnmarshalJSON ¶
func (p *RestartConfig) UnmarshalJSON(data []byte) (err error)
Click to show internal directories.
Click to hide internal directories.