config

package
v0.0.0-...-089c034 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 4 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 {
	Environment string
	Debug       bool
	Host        string
	Port        string
	Db          map[string]string
	Broker      map[string]string
	Monitoring  map[string]string
}

func GetConfig

func GetConfig(configPath string) (*Config, error)

func (*Config) IsDevelopment

func (c *Config) IsDevelopment() bool

func (*Config) IsProduction

func (c *Config) IsProduction() bool

Jump to

Keyboard shortcuts

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