Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
Name string `json:"Name"`
Type string `json:"Type"`
Command string `json:"Command"`
Success string `json:"Success"`
Failure string `json:"Failure"`
RunOnFail bool `json:"RunOnFail"`
Service string `json:"Service"`
}
Action Struct
type Config ¶
type Config struct {
BotName string
StartTime int64
Debug bool
ConfigFile string
Validate bool
Version string
LogFile string
Workspace string
Services []Service
Pipelines []Pipeline
}
Config Represents the values for configuring a hex server
type Input ¶
type Input struct {
Type string `json:"Type"`
Name string `json:"Name"`
Target string `json:"Target"`
Match string `json:"Match"`
ACL string `json:"ACL,omitempty"`
Help string `json:"Help"`
Hide bool
}
Input Struct
type Pipeline ¶
type Pipeline struct {
Name string `json:"Name"`
Active bool `json:"Active"`
Alert bool `json:"Alert"`
Remind int64 `json:"Remind"`
Inputs []Input
Actions []Action
Outputs []Output
}
Pipeline Struct
Click to show internal directories.
Click to hide internal directories.