Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIsConfig ¶
type APIsConfig struct { GRPC grpcService.Config `yaml:"grpc" json:"grpc"` HTTP HTTPConfig `yaml:"http" json:"http"` }
Config represent application configuration
func (*APIsConfig) Validate ¶
func (c *APIsConfig) Validate() error
type ClientsConfig ¶ added in v2.4.0
type ClientsConfig struct { Storage StorageConfig `yaml:"storage" json:"storage"` OpenTelemetryCollector otelClient.Config `yaml:"openTelemetryCollector" json:"openTelemetryCollector"` }
func (*ClientsConfig) Validate ¶ added in v2.4.0
func (c *ClientsConfig) Validate() error
type Config ¶
type Config struct { HubID string `yaml:"hubID" json:"hubId"` Log log.Config `yaml:"log" json:"log"` APIs APIsConfig `yaml:"apis" json:"apis"` Signer grpcService.SignerConfig `yaml:"signer" json:"signer"` Clients ClientsConfig `yaml:"clients" json:"clients"` }
type HTTPConfig ¶ added in v2.5.0
type HTTPConfig struct { Addr string `yaml:"address" json:"address"` Server httpServer.Config `yaml:",inline" json:",inline"` }
func (*HTTPConfig) Validate ¶ added in v2.5.0
func (c *HTTPConfig) Validate() error
type StorageConfig ¶ added in v2.7.18
type StorageConfig struct { Embedded storeConfig.Config `yaml:",inline" json:",inline"` ExtendCronParserBySeconds bool `yaml:"-" json:"-"` CleanUpRecords string `yaml:"cleanUpRecords" json:"cleanUpRecords"` }
func (*StorageConfig) Validate ¶ added in v2.7.18
func (c *StorageConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.