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

Function WithAssociateHandle

pkg/socks5/server.go:115–119  ·  view source on GitHub ↗
(handler statute.UserAssociateHandler)

Source from the content-addressed store, hash-verified

113}
114
115func WithAssociateHandle(handler statute.UserAssociateHandler) ServerOption {
116 return func(s *Server) {
117 s.UserAssociateHandle = handler
118 }
119}
120
121func WithProxyDial(proxyDial statute.ProxyDialFunc) ServerOption {
122 return func(s *Server) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected