common

package
v0.0.0-...-56d6e7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddrConn

func NewAddrConn(c net.Conn, addr []byte, random bool) net.Conn

func NewBlockCrypt

func NewBlockCrypt(key, salt []byte, method string) kcp.BlockCrypt

func NewHMAC

func NewHMAC(key, salt []byte) hash.Hash

func NewHdrConn

func NewHdrConn(c net.Conn, hdr []byte) net.Conn

func NewPktConn

func NewPktConn(conn net.Conn) net.Conn

func NewTimeoutConn

func NewTimeoutConn(c net.Conn, d time.Duration) net.Conn

func Pipe

func Pipe(p1, p2 net.Conn, b1, b2 []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL