NewAliasBuilder creates a new AliasBuilder for FT.ALIAS* commands. EXPERIMENTAL: this API is subject to change, use with caution.
(ctx context.Context, alias string)
| 543 | // NewAliasBuilder creates a new AliasBuilder for FT.ALIAS* commands. |
| 544 | // EXPERIMENTAL: this API is subject to change, use with caution. |
| 545 | func (c *Client) NewAliasBuilder(ctx context.Context, alias string) *AliasBuilder { |
| 546 | return &AliasBuilder{c: c, ctx: ctx, alias: alias} |
| 547 | } |
| 548 | |
| 549 | // Action sets the action for the alias builder. |
| 550 | func (b *AliasBuilder) Action(action string) *AliasBuilder { |
no outgoing calls
no test coverage detected