scion

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLuaSelector

func NewLuaSelector(script string) (rpc.ServerSelector, error)

func NewLuaSelector(script string) (*LuaSelector, error) {

Types

type LuaSelector

type LuaSelector struct {
	L *lua.LState
	// contains filtered or unexported fields
}

func (*LuaSelector) Close

func (s *LuaSelector) Close(raddr pan.UDPAddr) error

func (*LuaSelector) Initialize

func (s *LuaSelector) Initialize(local, remote pan.UDPAddr, paths []*pan.Path)

func (*LuaSelector) Path

func (s *LuaSelector) Path(raddr pan.UDPAddr) *pan.Path

func (*LuaSelector) PathDown

func (s *LuaSelector) PathDown(raddr pan.UDPAddr, fp pan.PathFingerprint, pi pan.PathInterface)

func (*LuaSelector) Refresh

func (s *LuaSelector) Refresh(remote pan.UDPAddr, paths []*pan.Path)

type QUICDialer

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

func NewQUICDialer

func NewQUICDialer(address string, tp *network.TransportProperties) (*QUICDialer, error)

func (*QUICDialer) Dial

func (d *QUICDialer) Dial() (network.Connection, error)

type QUICListener

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

func NewQUICListener

func NewQUICListener(address string, tp *network.TransportProperties) (*QUICListener, error)

func (*QUICListener) Listen

func (l *QUICListener) Listen() (network.Connection, error)

func (*QUICListener) Stop

func (l *QUICListener) Stop() error

type UDPDialer

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

func NewUDPDialer

func NewUDPDialer(address string) (*UDPDialer, error)

func (*UDPDialer) Dial

func (d *UDPDialer) Dial() (network.Connection, error)

type UDPListener

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

func NewUDPListener

func NewUDPListener(address string) (*UDPListener, error)

func (*UDPListener) Listen

func (l *UDPListener) Listen() (network.Connection, error)

func (*UDPListener) Stop

func (l *UDPListener) Stop() error

Jump to

Keyboard shortcuts

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