config

package
v0.0.0-...-da803b4 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 1 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 {
	Port     string
	Database *Database
}

Config is a struct that contains configuration variables

func NewConfig

func NewConfig() (*Config, error)

NewConfig creates a new Config struct

type Database

type Database struct {
	Host     string
	Port     string
	User     string
	DB       string
	Password string
}

Database is a struct that contains DB's configuration variables

Jump to

Keyboard shortcuts

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