Documentation ¶
Index ¶
Constants ¶
View Source
const (
ClusterMode = "cluster"
)
Variables ¶
This section is empty.
Functions ¶
func NewRedisPool ¶
func NewRedisPool(cfg PoolOptions) rediscleint.UniversalClient
Types ¶
type MQRedisRepository ¶
type MQRedisRepository struct {
// contains filtered or unexported fields
}
func NewMQRedisRepository ¶
func NewMQRedisRepository(client redisclient.UniversalClient) *MQRedisRepository
type PoolOptions ¶
type StorageSet ¶
type StorageSet struct { *TopicRedisRepository *MQRedisRepository }
func NewRedisStorageSet ¶
func NewRedisStorageSet(opts PoolOptions) *StorageSet
type TopicRedisRepository ¶
type TopicRedisRepository struct {
// contains filtered or unexported fields
}
func NewTopicRedisRepository ¶
func NewTopicRedisRepository(client redisclient.UniversalClient) *TopicRedisRepository
func (*TopicRedisRepository) CreateTopic ¶
func (*TopicRedisRepository) GetTopicPartitions ¶
Click to show internal directories.
Click to hide internal directories.