Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WGUserSpaceProxy ¶
type WGUserSpaceProxy struct {
// contains filtered or unexported fields
}
WGUserSpaceProxy proxies
func NewWGUserSpaceProxy ¶
func NewWGUserSpaceProxy(wgPort int) *WGUserSpaceProxy
NewWGUserSpaceProxy instantiate a user space WireGuard proxy. This is not a thread safe implementation
func (*WGUserSpaceProxy) AddTurnConn ¶
AddTurnConn start the proxy with the given remote conn
func (*WGUserSpaceProxy) CloseConn ¶
func (p *WGUserSpaceProxy) CloseConn() error
CloseConn close the localConn
Click to show internal directories.
Click to hide internal directories.