config

package
v0.0.0-...-2374d49 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	Host     string
	Port     string
	User     string
	Password string
	DBName   string
	SSLMode  string
}

Database - Postgres configuration

type Doc

type Doc struct {
	Title       string
	Description string
	Enabled     bool
	Version     string
}

Doc - swagger information

type Env

type Env struct {
	Server   Server
	Log      Log
	Doc      Doc
	Database Database
}

Env values

func GetEnv

func GetEnv() *Env

GetEnv returns env values

type Log

type Log struct {
	Enabled bool
	Level   string
}

Log config

type Server

type Server struct {
	Host string
	Port string
}

Server config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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