transport

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QUIC

type QUIC struct {
	// contains filtered or unexported fields
}

func NewQUIC

func NewQUIC(logger internal.Logger) *QUIC

func (*QUIC) Dial

func (q *QUIC) Dial(addr string) (io.ReadWriteCloser, error)

type RakNet

type RakNet struct{}

func NewRakNet

func NewRakNet() *RakNet

func (*RakNet) Dial

func (t *RakNet) Dial(addr string) (io.ReadWriteCloser, error)

type TCP

type TCP struct{}

func NewTCP

func NewTCP() *TCP

func (*TCP) Dial

func (t *TCP) Dial(addr string) (io.ReadWriteCloser, error)

type Transport

type Transport interface {
	Dial(addr string) (io.ReadWriteCloser, error)
}

Jump to

Keyboard shortcuts

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