import "github.com/vmihailenco/msgpack" 有很多限制
Created
July 26, 2014 22:56
-
-
Save changtimwu/0f8fbe78e9a11dbec464 to your computer and use it in GitHub Desktop.
msgpack codec study
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
goRpcCodec
implements bothrpc.ServerCodec
andrpc.ClientCodec
so the same instance can be passed to both
rpc.NewClientWithCodec(cc)
andrpc.NewServer().ServerCodec
msgpackSpecRpcCodec
is the same story.