Documentation ¶
Index ¶
Constants ¶
View Source
const (
ActionDiscoverNodes = "discover_nodes"
)
Gateway actions
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ID string `json:"id" yaml:"id"` Description string `json:"description" yaml:"description"` Enabled bool `json:"enabled" yaml:"enabled"` ReconnectDelay string `json:"reconnectDelay" yaml:"reconnectDelay"` QueueFailedMessage bool `json:"queueFailedMessage" yaml:"queueFailedMessage"` Provider cmap.CustomMap `json:"provider" yaml:"provider"` MessageLogger cmap.CustomMap `json:"messageLogger" yaml:"messageLogger"` Labels cmap.CustomStringMap `json:"labels" yaml:"labels"` Others cmap.CustomMap `json:"others" yaml:"others"` State *types.State `json:"state" yaml:"state"` ModifiedOn time.Time `json:"modifiedOn" yaml:"modifiedOn"` LastTransaction time.Time `json:"lastTransaction" yaml:"lastTransaction"` }
Config struct
func (*Config) GetReconnectDelay ¶
GetReconnectDelay for this config
Click to show internal directories.
Click to hide internal directories.