config

package
v0.0.0-...-c68fd85 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FiberConfig

func FiberConfig() fiber.Config

func LoadAllConfigs

func LoadAllConfigs(envFile string)

func LoadApp

func LoadApp()

func LoadDB

func LoadDB()

Types

type App

type App struct {
	Host        string
	Port        int
	Debug       bool
	Env         string
	ReadTimeout time.Duration
	FrontendURL string
}

func AppCfg

func AppCfg() *App

type DB

type DB struct {
	ConnStr string
}

func DBCfg

func DBCfg() *DB

Jump to

Keyboard shortcuts

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