config

package
v0.0.0-...-553ec8c Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 2 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 {
	LoggerCfg     *loggerConfig     `yaml:"logger"`
	PublisherCfg  *publisherConfig  `yaml:"publisher"`
	SubscriberCfg *subscriberConfig `yaml:"subscriber"`
	HTTPCfg       *httpConfig       `yaml:"http"`
	UserClientCfg *userClientConfig `yaml:"user_client"`
}

Config represents the overall configuration structure.

func NewConfig

func NewConfig() (*Config, error)

NewConfig initializes a new Config instance by reading from a YAML file.

Jump to

Keyboard shortcuts

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