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

Function WithBytesPool

pkg/socks4/server.go:116–120  ·  view source on GitHub ↗
(bytesPool statute.BytesPool)

Source from the content-addressed store, hash-verified

114}
115
116func WithBytesPool(bytesPool statute.BytesPool) ServerOption {
117 return func(s *Server) {
118 s.BytesPool = bytesPool
119 }
120}
121
122func (s *Server) ServeConn(conn net.Conn) error {
123 version, err := readByte(conn)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected