config

package
v0.0.0-...-b5001f5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB() error

Types

type Config

type Config struct {
	Environment string
	Server      Server
}

func InitConfig

func InitConfig() (*Config, error)

type Server

type Server struct {
	PORT      string `yaml:"port"`
	DebugLogs bool   `yaml:"debugLogs"`
}

Jump to

Keyboard shortcuts

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