Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTooLargePacket = errors.New("Too Large Packet")
Functions ¶
Types ¶
type FixLenProtocol ¶
type FixLenProtocol struct {
// contains filtered or unexported fields
}
func (*FixLenProtocol) NewCodec ¶
func (p *FixLenProtocol) NewCodec(rw io.ReadWriter) (cc link.Codec, err error)
type JsonProtocol ¶
type JsonProtocol struct {
// contains filtered or unexported fields
}
func Json ¶
func Json() *JsonProtocol
func (*JsonProtocol) NewCodec ¶
func (j *JsonProtocol) NewCodec(rw io.ReadWriter) (link.Codec, error)
func (*JsonProtocol) Register ¶
func (j *JsonProtocol) Register(t interface{})
func (*JsonProtocol) RegisterName ¶
func (j *JsonProtocol) RegisterName(name string, t interface{})
Click to show internal directories.
Click to hide internal directories.