Versions in this module Expand all Collapse all v4 v4.7.1 Feb 23, 2023 Changes in this version + func NewCodec(rwc io.ReadWriteCloser) codec.Codec + func ReadNetString(r io.Reader) (data []byte, err error) + func WriteNetString(w io.Writer, data []byte) (written int, err error) + type Request struct + Seq uint64 + ServiceMethod string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetSeq() uint64 + func (m *Request) GetServiceMethod() string + func (m *Request) Reset() + func (m *Request) String() string + func (m *Request) XXX_DiscardUnknown() + func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Request) XXX_Merge(src proto.Message) + func (m *Request) XXX_Size() int + func (m *Request) XXX_Unmarshal(b []byte) error + type Response struct + Error string + Seq uint64 + ServiceMethod string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetError() string + func (m *Response) GetSeq() uint64 + func (m *Response) GetServiceMethod() string + func (m *Response) Reset() + func (m *Response) String() string + func (m *Response) XXX_DiscardUnknown() + func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Response) XXX_Merge(src proto.Message) + func (m *Response) XXX_Size() int + func (m *Response) XXX_Unmarshal(b []byte) error