config

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServerPort

func GetServerPort() string

func Load

func Load() error

Types

type APIConfig

type APIConfig struct {
	Port string
}

type DBConfig

type DBConfig struct {
	Username string
	Password string
	Host     string
	Port     string
	Database string
}

func GetDB

func GetDB() DBConfig

Jump to

Keyboard shortcuts

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