Documentation ¶
Index ¶
- Constants
- func ByteToUint(buff []byte) uint32
- func NewAesConn(conn net.Conn, key []byte, iv Salt) (net.Conn, error)
- func NewCounterConn(conn net.Conn, counter CounterMan) net.Conn
- func NewLVConn(conn net.Conn) net.Conn
- func UintToByte(val uint32) []byte
- type ACK
- type AesConn
- type CounterConn
- type CounterMan
- type JsonConn
- type LVConn
- type PipeConn
- type Salt
Constants ¶
View Source
const (
BuffSize = 1 << 21
)
Variables ¶
This section is empty.
Functions ¶
func ByteToUint ¶
func NewCounterConn ¶
func NewCounterConn(conn net.Conn, counter CounterMan) net.Conn
func UintToByte ¶
Types ¶
type CounterConn ¶
type PipeConn ¶
func NewConsumerConn ¶
func NewConsumerConn(c net.Conn, key account.PipeCryptKey) *PipeConn
func NewProducerConn ¶
func NewProducerConn(c net.Conn, key account.PipeCryptKey) *PipeConn
Click to show internal directories.
Click to hide internal directories.