configs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	LogConfig  bool               `yaml:"LogConfig"`
	Logger     logger.Config      `yaml:"Logger"`
	AppNames   []string           `yaml:"AppNames"`
	Server     http_server.Config `yaml:"Server"`
	Repository repo.Config        `yaml:"Repository"`
	Service    service.Config     `yaml:"Service"`
	Cache      cache.Config       `yaml:"Cache"`
}

func LoadConfig

func LoadConfig(ctx context.Context, path string, env string) *Configuration

Jump to

Keyboard shortcuts

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