SCTPProxy is a proxy for SCTP connections. It implements the Proxy interface to handle SCTP traffic forwarding between the frontend and backend addresses.
| 12 | // SCTPProxy is a proxy for SCTP connections. It implements the Proxy interface to |
| 13 | // handle SCTP traffic forwarding between the frontend and backend addresses. |
| 14 | type SCTPProxy struct { |
| 15 | listener *sctp.SCTPListener |
| 16 | frontendAddr *sctp.SCTPAddr |
| 17 | backendAddr *sctp.SCTPAddr |
| 18 | } |
| 19 | |
| 20 | // NewSCTPProxy creates a new SCTPProxy. |
| 21 | func NewSCTPProxy(listener *sctp.SCTPListener, backendAddr *sctp.SCTPAddr) (*SCTPProxy, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected