config

package
v0.0.0-...-0e50a25 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Host       = &env.Env.Host
	ServerPort = &env.Env.ServerPort
	DbPort     = &env.Env.DbPort
	DbName     = &env.Env.DbName
)

Functions

This section is empty.

Types

type App

type App struct {
	Name string
}

type Container

type Container struct {
	App   *App
	Mongo *Mongo
	Fiber *Fiber
}

func New

func New() *Container

type Fiber

type Fiber struct {
	Host string
	Port int
}

type Mongo

type Mongo struct {
	Host string
	Port int
	Name string
}

Jump to

Keyboard shortcuts

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