Documentation ¶ Index ¶ Constants func Get_control_fn(seed *drbg.Seed) (func(string, string, syscall.RawConn) error, error) type Conn func NewConn(conn net.Conn, isServer bool, seed *drbg.Seed) (*Conn, error) func (rr *Conn) Read(b []byte) (int, error) func (rr *Conn) Write(b []byte) (n int, err error) Constants ¶ View Source const ( PacketTypePayload = iota ) Variables ¶ This section is empty. Functions ¶ func Get_control_fn ¶ func Get_control_fn(seed *drbg.Seed) (func(string, string, syscall.RawConn) error, error) Types ¶ type Conn ¶ type Conn struct { // Embeds a net.Conn and inherits its members. net.Conn Encoder *riverrunEncoder Decoder *riverrunDecoder // contains filtered or unexported fields } Implements the net.Conn interface func NewConn ¶ func NewConn(conn net.Conn, isServer bool, seed *drbg.Seed) (*Conn, error) func (*Conn) Read ¶ func (rr *Conn) Read(b []byte) (int, error) func (*Conn) Write ¶ func (rr *Conn) Write(b []byte) (n int, err error) Source Files ¶ View all Source files riverrun.go Click to show internal directories. Click to hide internal directories.