When C. received reply interface, i would like this "reply" to be forwarded directly to B. instead of doing an expensive interface{} to []byte conversion then only unserialize []byte to interface{} back on B. How do i get it done?
i realised i'm trying to transfer redigo interface type to another connecting redigo instance. how to transfer interface type directly?
the custom made redis server and custom made redis client (both written in golang) is a bridge to the redis server and redis client. B. does sanitization of data from A. redis-cli and forward to C. which validates the results before returning the data "reply" back without any processing from D to C and then to B but is post processed at B then back to A. The C to B part would like the "reply" to be "unprocessed". How to get it done?
[A. redis cli] <-> [B. custom redis client redcon] <-> [C. custom redis server redcon] <-> [D. redis server]
When C. received reply interface, i would like this "reply" to be forwarded directly to B. instead of doing an expensive interface{} to []byte conversion then only unserialize []byte to interface{} back on B. How do i get it done?
i realised i'm trying to transfer redigo interface type to another connecting redigo instance. how to transfer interface type directly?
the custom made redis server and custom made redis client (both written in golang) is a bridge to the redis server and redis client. B. does sanitization of data from A. redis-cli and forward to C. which validates the results before returning the data "reply" back without any processing from D to C and then to B but is post processed at B then back to A. The C to B part would like the "reply" to be "unprocessed". How to get it done?