type github.com/go-redis/redis/v8.Ring
33 uses
github.com/go-redis/redis/v8 (current package)
commands.go#L341: _ Cmdable = (*Ring)(nil)
ring.go#L405: type Ring struct {
ring.go#L412: func NewRing(opt *RingOptions) *Ring {
ring.go#L415: ring := Ring{
ring.go#L431: func (c *Ring) Context() context.Context {
ring.go#L435: func (c *Ring) WithContext(ctx context.Context) *Ring {
ring.go#L447: func (c *Ring) Do(ctx context.Context, args ...interface{}) *Cmd {
ring.go#L453: func (c *Ring) Process(ctx context.Context, cmd Cmder) error {
ring.go#L458: func (c *Ring) Options() *RingOptions {
ring.go#L462: func (c *Ring) retryBackoff(attempt int) time.Duration {
ring.go#L467: func (c *Ring) PoolStats() *PoolStats {
ring.go#L482: func (c *Ring) Len() int {
ring.go#L487: func (c *Ring) Subscribe(ctx context.Context, channels ...string) *PubSub {
ring.go#L501: func (c *Ring) PSubscribe(ctx context.Context, channels ...string) *PubSub {
ring.go#L516: func (c *Ring) ForEachShard(
ring.go#L550: func (c *Ring) cmdsInfo() (map[string]*CommandInfo, error) {
ring.go#L568: func (c *Ring) cmdInfo(name string) *CommandInfo {
ring.go#L580: func (c *Ring) cmdShard(cmd Cmder) (*ringShard, error) {
ring.go#L590: func (c *Ring) process(ctx context.Context, cmd Cmder) error {
ring.go#L599: func (c *Ring) _process(ctx context.Context, cmd Cmder) error {
ring.go#L621: func (c *Ring) Pipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
ring.go#L625: func (c *Ring) Pipeline() Pipeliner {
ring.go#L634: func (c *Ring) processPipeline(ctx context.Context, cmds []Cmder) error {
ring.go#L640: func (c *Ring) TxPipelined(ctx context.Context, fn func(Pipeliner) error) ([]Cmder, error) {
ring.go#L644: func (c *Ring) TxPipeline() Pipeliner {
ring.go#L653: func (c *Ring) processTxPipeline(ctx context.Context, cmds []Cmder) error {
ring.go#L659: func (c *Ring) generalProcessPipeline(
ring.go#L686: func (c *Ring) processShardPipeline(
ring.go#L704: func (c *Ring) Watch(ctx context.Context, fn func(*Tx) error, keys ...string) error {
ring.go#L741: func (c *Ring) Close() error {
script.go#L20: _ scripter = (*Ring)(nil)
universal.go#L189: _ UniversalClient = (*Ring)(nil)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |