config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 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 {
	Logger   *logger.Config   `required:"true"`
	Postgres *postgres.Config `required:"true"`
	Redis    *redis.Config    `required:"true"`
}

func Load

func Load(print bool) (config Config, err error)

func LoadDefaults

func LoadDefaults(print bool) (config Config, err error)

Jump to

Keyboard shortcuts

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