config

package
v0.0.0-...-1369677 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlackListPath

func GetBlackListPath() string

func GetConfigDir

func GetConfigDir() string

GetConfigDir 获取redis配置信息

func GetGRPCNet

func GetGRPCNet() string

func GetHTTPNet

func GetHTTPNet() string

func GetPid

func GetPid() string

func GetRedisConfig

func GetRedisConfig() (dbMap map[string]int)

GetRedisConfig 获取redis配置信息

func GetServiceName

func GetServiceName() string

func GetTcpNet

func GetTcpNet() string

func InBlacklist

func InBlacklist(uid string) bool

InBlacklist 判断是否在黑名单中

func WatchBlacklistConfig

func WatchBlacklistConfig()

WatchBlacklistConfig 获取黑名单配置

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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