# Structs
Note: if altering this struct, be sure to account for 64 bit alignment on 32 bit arm arch https://pkg.go.dev/sync/atomic#pkg-note-BUG https://github.com/golang/go/issues/36606.
Note: if altering this struct, be sure to account for 64 bit alignment on 32 bit arm arch https://pkg.go.dev/sync/atomic#pkg-note-BUG https://github.com/golang/go/issues/36606.
Options contains common Xgress configuration options.
# Interfaces
The BindHandlers are invoked to install the appropriate handlers.
CloseHandler is invoked by an xgress when the connected peer terminates the communication.
PeekHandler allows registering watcher to react to data flowing an xgress instance.
ReceiveHandler is invoked by an xgress whenever data is received from the connected peer.
# Type aliases
CloseHandlerF is the function version of CloseHandler.