Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiniRpcFramer ¶
type MiniRpcFramer struct{}
func (MiniRpcFramer) ReadFrame ¶
func (mini MiniRpcFramer) ReadFrame(conn net.Conn) ([]byte, error)
magic(2) + len(2) + 保留(4) + pkg(len)
func (MiniRpcFramer) WriteFrame ¶
func (mini MiniRpcFramer) WriteFrame(conn net.Conn, data []byte) error
type MiniRpcReqCoder ¶
type MiniRpcReqCoder struct { }
type MiniRpcRspCoder ¶
type MiniRpcRspCoder struct { }
Click to show internal directories.
Click to hide internal directories.