quichost

package module
v0.0.0-...-05d464c Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 13 Imported by: 0

README

quichost

install:

$ go install github.com/btwiuse/quichost/cmd/quichost@latest

server:

$ quichost server

example clients:

$ quichost client
$ quichost gos
$ quichost echo

TODO

  • reverseproxy WebTransport requests
  • support user specified hostname, requiring netrc authentication
  • support custom root domain, for example ROOT=usesthis.app
  • support concurrent rw on session manager map

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(u string) (*listener, error)

Types

type Conn

type Conn interface {
	io.Reader
	io.Writer
	io.Closer
	SetDeadline(time.Time) error
	SetReadDeadline(time.Time) error
	SetWriteDeadline(time.Time) error
}

type Listener

type Listener interface {
	Accept() (net.Conn, error)
	Close() error
	Addr() net.Addr
}

type StreamConn

type StreamConn struct {
	webtransport.Stream
	LA net.Addr
	RA net.Addr
}

func (StreamConn) LocalAddr

func (sc StreamConn) LocalAddr() net.Addr

func (StreamConn) RemoteAddr

func (sc StreamConn) RemoteAddr() net.Addr

Directories

Path Synopsis
cmd
echo command
gos command
quichost command

Jump to

Keyboard shortcuts

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