redissource

package
v1.5.56 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HostPattern  = "[*]+"
	FlagNodeList = "node-list"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisDBSourceImp

type RedisDBSourceImp struct {
	// contains filtered or unexported fields
}

func NewRedisSource

func NewRedisSource(host, urlreg string) *RedisDBSourceImp

func (*RedisDBSourceImp) FetchSource

func (s *RedisDBSourceImp) FetchSource() (hostArr []string)

func (*RedisDBSourceImp) GetDBConnection

func (s *RedisDBSourceImp) GetDBConnection() (db *r.RedisDB, err error)

Jump to

Keyboard shortcuts

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