helper

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfPath

func GetConfPath() string

GetConfPath 获取配置文件路径

func GetConnection

func GetConnection(identity string) (*define.Connection, error)

func GetRedisClient added in v0.1.2

func GetRedisClient(connectionIdentity string, db int) (*redis.Client, error)

GetRedisClient 获取 Redis 客户端对象

connectionIdentity 连接唯一标识 db 选中的数据库

Types

This section is empty.

Jump to

Keyboard shortcuts

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