MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / WriteBulkStrings

Function WriteBulkStrings

IceFireDB-PubSub/pkg/router/writer.go:121–133  ·  view source on GitHub ↗
(local *RESPHandle.WriterHandle, reply []string)

Source from the content-addressed store, hash-verified

119}
120
121func WriteBulkStrings(local *RESPHandle.WriterHandle, reply []string) error {
122 err := local.WriteBulkStrings(reply)
123 if err != nil {
124 logrus.Error("Client write error:", err)
125 return ErrLocalWriter
126 }
127 err = local.Flush()
128 if err != nil {
129 logrus.Error("Client flush error:", err)
130 return ErrLocalFlush
131 }
132 return nil
133}
134
135func WriteInt(local *RESPHandle.WriterHandle, reply int64) error {
136 err := local.WriteInt(reply)

Callers 1

WriterMethod · 0.92

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected