config

package
v1.1.10-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: MIT Imports: 3 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 {
	AppVersion string
	Server     Server
	MongoDB    MongoDB
}

func ParseConfig

func ParseConfig() (*Config, error)

type MongoDB

type MongoDB struct {
	URI      string
	User     string
	Password string
	DB       string
}

type Server

type Server struct {
	Port        string
	Development bool
	LogLevel    int8
}

Jump to

Keyboard shortcuts

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