Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DRLMAgentConfig ¶
type DRLMAgentConfig struct { Core DRLMAgentCoreConfig `mapstructure:"core"` Minio DRLMAgentMinioConfig `mapstructure:"minio"` Log logger.Config `mapstructure:"log"` }
DRLMAgentConfig is the configuration of an Agent of DRLM
var Config *DRLMAgentConfig
Config has the values of the configuration
type DRLMAgentCoreConfig ¶
type DRLMAgentCoreConfig struct { Host string `mapstructure:"host"` Port int `mapstructure:"port"` TLS bool `mapstructure:"tls"` CertPath string `mapstructure:"cert_path"` Secret string `mapstructure:"secret"` }
DRLMAgentCoreConfig is the configuration related with the DRLM Core of an Agent of DRLM
type DRLMAgentMinioConfig ¶
type DRLMAgentMinioConfig struct { Host string `mapstructure:"host"` Port int `mapstructure:"port"` SSL bool `mapstructure:"ssl"` CertPath string `mapstructure:"cert_path"` AccessKey string `mapstructure:"access_key"` SecretKey string `mapstructure:"secret_key"` }
DRLMAgentMinioConfig is the configuration related wtih the Minio of a DRLM Agent
Click to show internal directories.
Click to hide internal directories.