config

package
v0.0.0-...-ca2b8f7 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = deploy.LoadConfig[LoggerType](
	deploy.DevConfig(loggerFileDev),
	deploy.ProdConfig(loggerFileProd),
)

Functions

This section is empty.

Types

type AppType

type AppType struct {
	Server struct {
		Port int `yaml:"port"`
	} `yaml:"server"`
	Postgres struct {
		DSN string `yaml:"dsn"`
	} `yaml:"postgres"`
}

type LoggerType

type LoggerType struct {
	Dynamic bool   `yaml:"dynamic"`
	Type    string `yaml:"type"`

	Formatter formatters.Formatter
}

Jump to

Keyboard shortcuts

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