redis_connect

package
v0.0.0-...-c600a59 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnectAndDSN

func GetConnectAndDSN(params Params) (rdb *redis.Client, dsn string, err error)

GetConnectAndDSN returns connect to mongo instance and dsn string

Types

type Params

type Params struct {
	Passwd string // Password
	Host   string // Network host
	Port   string // Network port
	Socket string // Socket path
}

Jump to

Keyboard shortcuts

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