Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PushService ¶
type PushService struct {
// contains filtered or unexported fields
}
PushService is to push data to redis_push_service_channel
func NewPushService ¶
func (PushService) Close ¶
func (p PushService) Close() error
Close connection to remote redis server
func (PushService) WriteSync ¶
func (p PushService) WriteSync(b *types.RedisBlock) (map[string]int, error)
WriteSync push data to redis-push-channel per block
Click to show internal directories.
Click to hide internal directories.