mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-14 20:16:05 +08:00
Removed print statement in simple string encoding function
This commit is contained in:
@@ -3,13 +3,14 @@
|
||||
[x] Config file support
|
||||
[x] TCP support w/ TLS
|
||||
[x] HTTP support w/ TLS
|
||||
[] Ping/Pong
|
||||
[x] Ping/Pong
|
||||
[] String support
|
||||
[] List support
|
||||
[] Set support
|
||||
[] Sorted set support
|
||||
[] Hash support
|
||||
[] Stream support
|
||||
[] Pub/Sub support
|
||||
|
||||
[] RediSearch support
|
||||
[] RedisJSON support
|
||||
@@ -19,4 +20,5 @@
|
||||
[] Bitmap support
|
||||
[] Bitfield support
|
||||
|
||||
[] Add support for multiple root CAs on client side
|
||||
[] Support for multiple root CAs on client side
|
||||
[] Clustering support
|
@@ -33,7 +33,6 @@ func encodeSimpleString(wr *resp.Writer, tokens []string) error {
|
||||
default:
|
||||
return fmt.Errorf(wrong_args_error, strings.ToUpper(tokens[0]))
|
||||
case 2:
|
||||
fmt.Println(tokens[0], tokens[1])
|
||||
wr.WriteSimpleString(tokens[1])
|
||||
return nil
|
||||
}
|
||||
|
@@ -43,7 +43,6 @@ func (server *Server) handleConnection(conn net.Conn) {
|
||||
if cmd, err := serialization.Decode(message); err != nil {
|
||||
// Return error to client
|
||||
serialization.Encode(connRW, fmt.Sprintf("Error %s", err.Error()))
|
||||
fmt.Println("Server: ", err)
|
||||
continue
|
||||
} else {
|
||||
// Return encoded message to client
|
||||
|
Reference in New Issue
Block a user