config

package
v0.0.0-...-726d631 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 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 {
	RedisAddr          string `env:"REDIS_ADDR,notEmpty"`
	EnqueueConcurrency int    `env:"WORKERS_CONCURRENCY" envDefault:"10"`
	InventoryAddress   string `env:"INVENTORY_ADDRESS,notEmpty"`
}

func GetConfig

func GetConfig() (Config, error)

Jump to

Keyboard shortcuts

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