setting

package
v0.0.0-...-2de5856 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppSettings = &App{}
View Source
var MongoSettings = &Database{}
View Source
var ServerSetting = &Server{}

Functions

func Setup

func Setup()

Types

type App

type App struct {
	AppName     string
	AllowOrigin string

	Encoding string
	LogLevel string
}

type Database

type Database struct {
	User     string
	Password string
	Host     string
	Name     string
}

type Server

type Server struct {
	RunMode      string
	HttpPort     string
	ReadTimeout  time.Duration
	WriteTimeout time.Duration
}

Jump to

Keyboard shortcuts

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