Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AesEncoding ¶
type AesEncoding struct {
// contains filtered or unexported fields
}
func NewAesEncoding ¶
func NewAesEncoding(enc rpc.Encoding, key []byte) (*AesEncoding, error)
func (*AesEncoding) Encode ¶
func (mp *AesEncoding) Encode(w rpc.BufferWriter, v interface{}) error
type JSONEncoding ¶
type JSONEncoding struct{}
func NewJSONEncoding ¶
func NewJSONEncoding() *JSONEncoding
func (*JSONEncoding) Encode ¶
func (mp *JSONEncoding) Encode(w rpc.BufferWriter, v interface{}) error
type MsgPackEncoding ¶
type MsgPackEncoding struct{}
func NewMsgPackEncoding ¶
func NewMsgPackEncoding() *MsgPackEncoding
func (*MsgPackEncoding) Decode ¶
func (mp *MsgPackEncoding) Decode(r rpc.BufferReader, v interface{}) error
func (*MsgPackEncoding) Encode ¶
func (mp *MsgPackEncoding) Encode(w rpc.BufferWriter, v interface{}) error
Click to show internal directories.
Click to hide internal directories.