Documentation ¶
Index ¶
- func NewBsonClientCodec(conn io.ReadWriteCloser) rpc.ClientCodec
- func NewBsonServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec
- func NewGencodeClientCodec(conn io.ReadWriteCloser) rpc.ClientCodec
- func NewGencodeServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec
- func NewGobClientCodec(conn io.ReadWriteCloser) rpc.ClientCodec
- func NewGobServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec
- func NewProtobufClientCodec(conn io.ReadWriteCloser) rpc.ClientCodec
- func NewProtobufServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBsonClientCodec ¶
func NewBsonClientCodec(conn io.ReadWriteCloser) rpc.ClientCodec
NewBsonClientCodec creates a bson ClientCodec
func NewBsonServerCodec ¶
func NewBsonServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec
NewBsonServerCodec creates a bson ServerCodec
func NewGencodeClientCodec ¶
func NewGencodeClientCodec(conn io.ReadWriteCloser) rpc.ClientCodec
NewGencodeClientCodec creates a protobuf ClientCodec
func NewGencodeServerCodec ¶
func NewGencodeServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec
NewGencodeServerCodec creates a gencode ServerCodec
func NewGobClientCodec ¶
func NewGobClientCodec(conn io.ReadWriteCloser) rpc.ClientCodec
NewGobClientCodec creates a gob ClientCodec
func NewGobServerCodec ¶
func NewGobServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec
NewGobServerCodec creates a gob ServerCodec
func NewProtobufClientCodec ¶
func NewProtobufClientCodec(conn io.ReadWriteCloser) rpc.ClientCodec
NewProtobufClientCodec creates a protobuf ClientCodec by https://github.com/mars9/codec
func NewProtobufServerCodec ¶
func NewProtobufServerCodec(conn io.ReadWriteCloser) rpc.ServerCodec
NewProtobufServerCodec creates a protobuf ServerCodec by https://github.com/mars9/codec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.