Documentation
¶
Index ¶
- type RedisListService
- func (e *RedisListService) BPop(key string, timeout time.Duration) (string, error)
- func (e *RedisListService) GetRange(key string) (string, error)
- func (e *RedisListService) IsBlock(key string) (bool, error)
- func (e *RedisListService) IsBusy(key string, percentage int64) (bool, error)
- func (e *RedisListService) KBPop(key string, timeout time.Duration) (string, error)
- func (e *RedisListService) KPush(key string, value string) error
- func (e *RedisListService) Pop(key string) (string, error)
- func (e *RedisListService) Push(key string, value string) error
- func (e *RedisListService) Size(key string) (int64, error)
- type RedisValueService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisListService ¶
type RedisListService struct {
MaxSize int64 // 最大数量
}
func (*RedisListService) IsBusy ¶ added in v1.0.4
func (e *RedisListService) IsBusy(key string, percentage int64) (bool, error)
Click to show internal directories.
Click to hide internal directories.