Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIsConfig ¶
type APIsConfig struct {
HTTP HTTPConfig `yaml:"http" json:"http"`
GRPC grpcService.Config `yaml:"grpc" json:"grpc"`
}
Config represent application configuration
func (*APIsConfig) Validate ¶
func (c *APIsConfig) Validate() error
type ClientsConfig ¶
type ClientsConfig struct {
Storage storeConfig.Config `yaml:"storage" json:"storage"`
OpenTelemetryCollector http.OpenTelemetryCollectorConfig `yaml:"openTelemetryCollector" json:"openTelemetryCollector"`
}
func (*ClientsConfig) Validate ¶
func (c *ClientsConfig) Validate() error
type Config ¶
type Config struct {
Log log.Config `yaml:"log" json:"log"`
APIs APIsConfig `yaml:"apis" json:"apis"`
Clients ClientsConfig `yaml:"clients" json:"clients"`
OAuthSigner oauthsigner.Config `yaml:"oauthSigner" json:"oauthSigner"`
}
Config represents application configuration
type HTTPConfig ¶
type HTTPConfig struct {
Addr string `yaml:"address" json:"address"`
Server server.Config `yaml:",inline" json:",inline"`
}
func (*HTTPConfig) Validate ¶
func (c *HTTPConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.