Documentation ¶
Index ¶
Constants ¶
View Source
const ( // macOS Dateipfade OSX_BASE_CONFIG_PATH = "/Users/fluffelbuff/Desktop/rouex.config" OSX_NO_ROOT_API_SOCKET = "/Users/fluffelbuff/Desktop/rouex.socket" OSX_TRUSTED_RELAYS_PATH = "/Users/fluffelbuff/Desktop/trusted_relays.table" OSX_ROUTING_TABLE_PATH = "/Users/fluffelbuff/Desktop/routing.table" OSX_FIREWALL_TABLE_PATH = "/Users/fluffelbuff/Desktop/firewall.table" OSX_EXTERNAL_MODULES = "/Users/fluffelbuff/Desktop/external_modules" OSX_RELAY_PRIVATE_KEY_FILE = "/Users/fluffelbuff/Desktop/relay.privkey.r" // Linux Dateipfade DEBIAN_BASE_CONFIG_PATH = "/home/fluffelbuff/Schreibtisch/rouex.config" DEBIAN_NO_ROOT_API_SOCKET = "/home/fluffelbuff/Schreibtisch/rouex.socket" DEBIAN_TRUSTED_RELAYS_PATH = "/home/fluffelbuff/Schreibtisch/trusted_relays.table" DEBIAN_ROUTING_TABLE_PATH = "/home/fluffelbuff/Schreibtisch/routing.table" DEBIAN_FIREWALL_TABLE_PATH = "/home/fluffelbuff/Schreibtisch/firewall.table" DEBIAN_EXTERNAL_MODULES = "/home/fluffelbuff/Schreibtisch/external_modules/" DEBIAN_RELAY_PRIVATE_KEY_FILE = "/home/fluffelbuff/Schreibtisch/relay.privkey.r" // Windows Dateipfade WIN32_BASE_CONFIG_PATH = "/Users/fluffelbuff/Desktop/rouex.config" WIN32_NO_ROOT_API_SOCKET = "/Users/fluffelbuff/Desktop/rouex.socket" WIN32_TRUSTED_RELAYS_PATH = "/Users/fluffelbuff/Desktop/trusted_relays.table" WIN32_ROUTING_TABLE_PATH = "/Users/fluffelbuff/Desktop/routing.table" WIN32_FIREWALL_TABLE_PATH = "/Users/fluffelbuff/Desktop/firewall.table" WIN32_EXTERNAL_MODULES = "/Users/fluffelbuff/Desktop/external_modules" WIN32_RELAY_PRIVATE_KEY_FILE = "/Users/fluffelbuff/Desktop/relay.privkey.r" )
Speichert alle unter OSX Verfügabren Pfade ab
View Source
const ( // Gibt den Adressprefix an ADDRESS_PREFIX string = "rx" // Gibt den Standard WS-Port an WS_PORT uint64 = 9381 // Gibt an, wieviele Pakete eine Websocket Verbindung zwischenspeichern kann WS_MAX_PACKAGES uint32 = 128 WS_MAX_BYTES uint64 = 256000 * 32 )
Speichert Namen, Version, etc ab
View Source
const ( BASE_CONFIG = File(0) API_SOCKET = File(1) TRUSTED_RELAYS = File(2) ROUTING_TABLE = File(3) FIREWALL_TABLE = File(4) EXTERNAL_MODULES = File(5) PRIVATE_KEY_FILE = File(6) )
Definiert alle Verfügabren Dateien
View Source
const WELCOME_BANNER = `` /* 1200-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GetFilePathFor ¶
Gibt den PATH für eine bestimmte Datei aus
Types ¶
type RoueXVersion ¶
type RoueXVersion struct { }
Stellt die Aktuelle Programmversion dar
var (
VERSION RoueXVersion = RoueXVersion{}
)
Gibt die Version an
Click to show internal directories.
Click to hide internal directories.