setting

package
v0.0.0-...-8fd06f2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MongoSettings = &Database{}
View Source
var ServerSettings = &Server{}

Functions

func Setup

func Setup()

Types

type Database

type Database struct {
	Uri  string
	Name string
}

type Server

type Server struct {
	Address      string
	ReadTimeout  time.Duration
	WriteTimeout time.Duration
	IdleTimeout  time.Duration
}

Jump to

Keyboard shortcuts

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