• Kirill Smelkov's avatar
    go/zodb/zeo: Introduce notion of encoding · 0696cd64
    Kirill Smelkov authored
    Keep information about which message encoding is used on the wire in
    encoding type. Make pktDecode/pktEncode and data type conversion
    utilities be methods of this type. For now there is only 'pickles'
    encoding, but we'll soon introduce 'msgpack'.
    
    Currently not everything related to pickles is localized in encoding -
    we'll be moving more bits to encoding in the followup patches.
    0696cd64
zrpc.go 10.5 KB