controllers

package
v0.0.0-...-723dd0c Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AvailableHosts = []*availableHost{
	&availableHost{NetworkVersion: "IPv4", DestinationAddress: "192.168.2.3", Port: 4200, DestinationHostkey: x509.MarshalPKCS1PublicKey(pub1)},
	&availableHost{NetworkVersion: "IPv4", DestinationAddress: "192.168.2.3", Port: 4500, DestinationHostkey: x509.MarshalPKCS1PublicKey(pub2)},
	&availableHost{NetworkVersion: "IPv4", DestinationAddress: "192.168.2.3", Port: 4800, DestinationHostkey: x509.MarshalPKCS1PublicKey(pub3)},
}

define list of available host

Functions

func InitiateTrafficJamming

func InitiateTrafficJamming(tunnelId uint32, myPeer *services.Peer)

func StartErrorHandling

func StartErrorHandling(myPeer *services.Peer)

func StartPeerController

func StartPeerController(myPeer *services.Peer)

func StartUDPController

func StartUDPController(myPeer *services.Peer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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