redissource

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func SchemaPrefix added in v1.6.12

func SchemaPrefix() string

Types

type RedisDBSourceImp

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

func NewRedisSource

func NewRedisSource(host 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