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

Function writeRedisSimpleString

internal/api/redis_queue_protocol.go:487–493  ·  view source on GitHub ↗
(writer *bufio.Writer, value string)

Source from the content-addressed store, hash-verified

485}
486
487func writeRedisSimpleString(writer *bufio.Writer, value string) error {
488 if writer == nil {
489 return net.ErrClosed
490 }
491 _, errWrite := writer.WriteString("+" + value + "\r\n")
492 return errWrite
493}
494
495func writeRedisError(writer *bufio.Writer, message string) error {
496 if writer == nil {

Callers 2

handleRedisConnectionMethod · 0.85

Calls 1

WriteStringMethod · 0.80

Tested by

no test coverage detected