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 string) *RedisDBSourceImp
func (*RedisDBSourceImp) FetchSource ¶
func (s *RedisDBSourceImp) FetchSource() (hostArr []string)
func (*RedisDBSourceImp) GetDBConnection ¶
func (s *RedisDBSourceImp) GetDBConnection() (db *r.RedisDB, err error)
Click to show internal directories.
Click to hide internal directories.