config

package
v0.0.0-...-fede4b9 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Server               *server
	Mysql                *mySQL
	Snowflake            *snowflake
	Service              *service
	Jaeger               *jaeger
	Etcd                 *etcd
	Redis                *redis
	DefaultUser          *defaultUser
	Elasticsearch        *elasticsearch
	Kafka                *kafka
	UpYun                *upyun
	VersionUploadService *url
)

Functions

func GetLoggerLevel

func GetLoggerLevel() string

GetLoggerLevel 会返回服务的日志等级

func Init

func Init(service string)

Init 目的是初始化并读入配置,此时没有初始化Logger,但仍然可以用 logger 来输出,只是没有自定义配置

Types

This section is empty.

Jump to

Keyboard shortcuts

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