config

package
v0.0.0-...-cc63be1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package config...

Description : config...

Author : go_developer@163.com<白茶清欢>

Date : 2021-07-25 8:22 下午

Index

Constants

This section is empty.

Variables

View Source
var (
	// ConfPath 配置文件所在目录
	ConfPath string
	// ProjectPath 项目部署路径
	ProjectPath string
	// CLIParam 命令行参数
	CLIParam map[string]string
	// Base 基础配置
	Base define.Base
	// Database 数据库配置
	Database define.Database
	// Redis redis配置
	Redis map[string]define.Redis
	// Auth 身份认证配置
	Auth map[string]string
	// Etcd 配置
	Etcd clientv3.Config
)

Functions

func InitConfig

func InitConfig() error

InitConfig 初始化服务配置

Author : go_developer@163.com<白茶清欢>

Date : 8:22 下午 2021/7/25

Types

This section is empty.

Jump to

Keyboard shortcuts

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