ClientSetName assigns a name to the connection.
(ctx context.Context, name string)
| 317 | |
| 318 | // ClientSetName assigns a name to the connection. |
| 319 | func (c statefulCmdable) ClientSetName(ctx context.Context, name string) *BoolCmd { |
| 320 | cmd := NewBoolCmd(ctx, "client", "setname", name) |
| 321 | _ = c(ctx, cmd) |
| 322 | return cmd |
| 323 | } |
| 324 | |
| 325 | // ClientSetInfo sends a CLIENT SETINFO command with the provided info. |
| 326 | func (c statefulCmdable) ClientSetInfo(ctx context.Context, info LibraryInfo) *StatusCmd { |
nothing calls this directly
no test coverage detected