Documentation
¶
Overview ¶
Separate package is workaround to import cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ExecOnState string `hcl:"exec_on_state"`
LogDebug bool `hcl:"log_debug"`
MqttLogDebug bool `hcl:"mqtt_log_debug"`
MqttBroker string `hcl:"mqtt_broker"`
TLS TLS `hcl:"tls"`
Connect *Connect `hcl:"connect"`
Listens []Listen `hcl:"listen"`
RoleMembersAdmin []string `hcl:"role_admin"`
RoleMembersControl []string `hcl:"role_control"`
RoleMembersMonitor []string `hcl:"role_monitor"`
SecretsPath string `hcl:"secrets"`
Mode Mode `hcl:"-"`
}
func (*Config) EnableClient ¶
Prepare Config in client mode. Use endpoint Connect if available or first Listen allowing the role.
func (*Config) EnableServer ¶
Click to show internal directories.
Click to hide internal directories.