riverrun

package
v0.0.0-...-1add468 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: BSD-2-Clause, BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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