Documentation
¶
Index ¶
- Constants
- func NewAesConn(conn net.Conn, key []byte, iv Salt) (net.Conn, error)
- func NewLVConn(conn net.Conn) net.Conn
- type ACK
- type AesConn
- type JsonConn
- func (conn *JsonConn) ReadJsonBuffer(buff []byte, v interface{}) error
- func (conn *JsonConn) ReadJsonMsg(v interface{}) error
- func (conn *JsonConn) Syn(v interface{}) error
- func (conn *JsonConn) SynBuffer(buff []byte, v interface{}) error
- func (conn *JsonConn) WriteAck(err error)
- func (conn *JsonConn) WriteJsonMsg(v interface{}) error
- type LVConn
- type Salt
Constants ¶
View Source
const ( BuffSize = 1 << 21 StructBufSize = 1 << 16 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JsonConn ¶
func (*JsonConn) ReadJsonBuffer ¶ added in v1.0.4
func (*JsonConn) ReadJsonMsg ¶
func (*JsonConn) WriteJsonMsg ¶
Click to show internal directories.
Click to hide internal directories.