config

package
v0.0.0-...-b5678d6 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 7 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 {
	App             configs.App     `yaml:"app"`
	HTTP            configs.HTTP    `yaml:"http"`
	Logger          logger.Config   `yaml:"logger"`
	SessionDuration int             `yaml:"session_duration"`
	UserClient      UserClient      `yaml:"user_client"`
	Redis           redis.Config    `yaml:"redis"`
	Security        security.Config `yaml:"security"`
}

func NewConfig

func NewConfig() (*Config, error)

type UserClient

type UserClient struct {
	URL string `env-required:"true" yaml:"url" env:"USER_CLIENT_URL"`
}

Jump to

Keyboard shortcuts

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