config

package
v0.0.0-...-46f0560 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 3 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 {
	Name  string `yaml:"name" mapstructure:"name"`
	Port  string `yaml:"port" mapstructure:"http_port"`
	Url   string `yaml:"url" mapstructure:"pg_url"`
	Level string `yaml:"level" mapstructure:"log_level"`

	RequestTopic string   `yaml:"request_topic" mapstructure:"request_topic"`
	Brokers      []string `yaml:"brokers" mapstructure:"brokers"`
}

func NewConfig

func NewConfig() (cfg *Config, err error)

Jump to

Keyboard shortcuts

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