Change module name to go.fd.io/govpp
[govpp.git] / proxy / proxy.go
index 6656ee5..5d7c499 100644 (file)
@@ -21,7 +21,7 @@ import (
        "net/http"
        "net/rpc"
 
-       "git.fd.io/govpp.git/adapter"
+       "go.fd.io/govpp/adapter"
 )
 
 // Server defines a proxy server that serves client requests to stats and binapi.
@@ -51,19 +51,19 @@ func NewServer() (*Server, error) {
 }
 
 func (p *Server) ConnectStats(stats adapter.StatsAPI) error {
-       return p.statsRPC.Connect(stats)
+       return p.statsRPC.connect(stats)
 }
 
 func (p *Server) DisconnectStats() {
-       p.statsRPC.Disconnect()
+       p.statsRPC.disconnect()
 }
 
 func (p *Server) ConnectBinapi(binapi adapter.VppAPI) error {
-       return p.binapiRPC.Connect(binapi)
+       return p.binapiRPC.connect(binapi)
 }
 
 func (p *Server) DisconnectBinapi() {
-       p.binapiRPC.Disconnect()
+       p.binapiRPC.disconnect()
 }
 
 func (p *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {