config

package
v0.0.0-...-80ca719 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 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 App

type App struct {
	Port int
}

type Cache

type Cache struct {
	Host         string
	Port         int
	Password     string
	Db           int
	Protocol     int
	MinIdleConns int
	PoolSize     int
	PoolTimeout  int
}

type Config

type Config struct {
	App   App
	Db    Db
	Cache Cache
}

func GetConfig

func GetConfig() Config

type Db

type Db struct {
	Host     string
	Port     int
	User     string
	Password string
	DBName   string
	SSLMode  string
	TimeZone string
}

Jump to

Keyboard shortcuts

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