config

package
v0.0.0-...-6a546ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MessageServer messageserver.Config   `json:"message_server" required:"true"`
	Kafka         kafka.Config           `json:"kafka"          required:"true"`
	Issue         issue.Config           `json:"issue"          required:"true"`
	Postgres      postgres.Config        `json:"postgres"       required:"true"`
	ProductTree   producttreeimpl.Config `json:"product_tree"   required:"true"`
	Obs           obsimpl.Config         `json:"obs"            required:"true"`
	Backend       backendimpl.Config     `json:"backend"        required:"true"`
	Bulletin      bulletinimpl.Config    `json:"bulletin"`

	repositoryimpl.Config
}

func LoadConfig

func LoadConfig(path string) (*Config, error)

func (*Config) SetDefault

func (cfg *Config) SetDefault()

func (*Config) Validate

func (cfg *Config) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL