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

Function WithConnectHandle

pkg/http/server.go:100–104  ·  view source on GitHub ↗
(handler statute.UserConnectHandler)

Source from the content-addressed store, hash-verified

98}
99
100func WithConnectHandle(handler statute.UserConnectHandler) ServerOption {
101 return func(s *Server) {
102 s.UserConnectHandle = handler
103 }
104}
105
106func WithProxyDial(proxyDial statute.ProxyDialFunc) ServerOption {
107 return func(s *Server) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected