MCPcopy Create free account
hub / github.com/bepass-org/proxy / WithPacketForwardAddress

Function WithPacketForwardAddress

pkg/socks5/server.go:133–137  ·  view source on GitHub ↗
(packetForwardAddress statute.PacketForwardAddress)

Source from the content-addressed store, hash-verified

131}
132
133func WithPacketForwardAddress(packetForwardAddress statute.PacketForwardAddress) ServerOption {
134 return func(s *Server) {
135 s.PacketForwardAddress = packetForwardAddress
136 }
137}
138
139func WithContext(ctx context.Context) ServerOption {
140 return func(s *Server) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected