Documentation ¶
Index ¶
- type Redis
- func (r *Redis) BatchDelTentacle(ctx context.Context, infoList map[uint32]*pb.TentacleInfo) (map[uint32]bool, error)
- func (r *Redis) BatchGetTentacle(ctx context.Context, idList []uint32) (map[uint32]map[string]string, error)
- func (r *Redis) BatchPeekTentacle(ctx context.Context, idList []uint32) (map[uint32]bool, error)
- func (r *Redis) BatchSetTentacle(ctx context.Context, infoList map[uint32]*pb.TentacleInfo) (map[uint32]bool, error)
- func (r *Redis) Close(ctx context.Context) error
- func (r *Redis) DelTentacle(ctx context.Context, id uint32, infoList []*pb.Tentacle) (bool, error)
- func (r *Redis) GetTentacle(ctx context.Context, id uint32) (map[string]string, error)
- func (r *Redis) GetTentacleHistory(ctx context.Context, id uint32, from, to time.Time) ([]string, error)
- func (r *Redis) PeekTentacle(ctx context.Context, id uint32) (bool, error)
- func (r *Redis) SetTentacle(ctx context.Context, id uint32, infoList []*pb.Tentacle) (bool, error)
- func (r *Redis) SetTentacleHistory(ctx context.Context, id uint32, record string, ts time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
func (*Redis) BatchDelTentacle ¶
func (*Redis) BatchGetTentacle ¶
func (*Redis) BatchPeekTentacle ¶
func (*Redis) BatchSetTentacle ¶
func (*Redis) DelTentacle ¶
func (*Redis) GetTentacle ¶
func (*Redis) GetTentacleHistory ¶
func (*Redis) PeekTentacle ¶
func (*Redis) SetTentacle ¶
Click to show internal directories.
Click to hide internal directories.