Explorar el Código

remove unused member of struct from http roundtripper

Shelikhoo hace 2 años
padre
commit
99c9beac4e
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      transport/internet/request/roundtripper/httprt/httprt.go

+ 1 - 2
transport/internet/request/roundtripper/httprt/httprt.go

@@ -75,8 +75,7 @@ type httpTripperServer struct {
 	listener net.Listener
 	assembly request.TransportServerAssembly
 
-	listenAddress net.Addr
-	config        *ServerConfig
+	config *ServerConfig
 }
 
 func (h *httpTripperServer) OnTransportServerAssemblyReady(assembly request.TransportServerAssembly) {