Categorygithub.com/custodia-cenv/bngsocket-go
modulepackage
0.0.0-20241123212228-e8cd05d4e71c
Repository: https://github.com/custodia-cenv/bngsocket-go.git
Documentation: pkg.go.dev

# README

BngSocket

BngSocket is a powerful, session-based socket designed to enable bidirectional Remote Procedure Call (RPC) and reliable data transmission over stream protocols. It supports various stream-based protocols like TCP, TLS, Unix Domain Sockets, and Windows Named Pipes, while also providing the ability to transmit data via segmented channels.

Features

  • Bidirectional RPC: Both client and server can send and receive commands or data at any time.
  • Session-based: BngSocket manages sessions, making it easy to maintain and track individual connections.
  • Segmented Channels: Allows data transmission over channels, which can be assigned dynamically as needed.
  • Stream Protocols: Exclusively supports stream-based protocols such as TCP, TLS, Unix Domain Sockets, and Windows Named Pipes.
  • Cross-Platform: Works on Linux/Unix-based systems (using Unix Domain Sockets) and Windows (using Named Pipes).

# Packages

No description provided by the author
No description provided by the author

# Functions

DebugSetPrintFunction setzt eine benutzerdefinierte Debug-Funktion.
Gibt an ob die Bng Verbindung geschlossen wurde.
Wartet darauf dass sich der Status einer Bng Verbindung ändert.
No description provided by the author
NewSafeChan erstellt einen neuen _SafeChan mit dem angegebenen Puffer.
UpgradeSocketToBngConn wandelt einen gegebenen net.Conn in ein *BngConn Objekt um.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BngConn stellt die Verbindung und den Status eines BNG (Broadband Network Gateway) dar.
BngConnChannel repräsentiert einen Channel für die Kommunikation über eine BNG-Verbindung.
BngConnChannelListener hört auf eingehende Verbindungen für einen spezifischen BNG-Channel.
BngRequest stellt eine Anfrage an eine BNG-Verbindung dar.