MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / writeRedisNilBulkString

Function writeRedisNilBulkString

internal/api/redis_queue_protocol.go:503–509  ·  view source on GitHub ↗
(writer *bufio.Writer)

Source from the content-addressed store, hash-verified

501}
502
503func writeRedisNilBulkString(writer *bufio.Writer) error {
504 if writer == nil {
505 return net.ErrClosed
506 }
507 _, errWrite := writer.WriteString("$-1\r\n")
508 return errWrite
509}
510
511func writeRedisBulkString(writer *bufio.Writer, payload []byte) error {
512 if writer == nil {

Callers 2

handleRedisConnectionMethod · 0.85
writeRedisBulkStringFunction · 0.85

Calls 1

WriteStringMethod · 0.80

Tested by

no test coverage detected