config

package
v0.0.0-...-d98238c Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConfig

type DBConfig struct {
	Host     string
	Port     int
	Name     string
	User     string
	Password string
}

func GetDBConfig

func GetDBConfig() *DBConfig

type RedisConfig

type RedisConfig struct {
	Addr     string
	Password string
	DB       int
}

func GetRedisConfig

func GetRedisConfig() *RedisConfig

Jump to

Keyboard shortcuts

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