Code Review
/
govpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change module name to go.fd.io/govpp
[govpp.git]
/
proxy
/
proxy.go
diff --git
a/proxy/proxy.go
b/proxy/proxy.go
index
6656ee5
..
5d7c499
100644
(file)
--- a/
proxy/proxy.go
+++ b/
proxy/proxy.go
@@
-21,7
+21,7
@@
import (
"net/http"
"net/rpc"
"net/http"
"net/rpc"
- "g
it.fd.io/govpp.git
/adapter"
+ "g
o.fd.io/govpp
/adapter"
)
// Server defines a proxy server that serves client requests to stats and binapi.
)
// 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 {
}
func (p *Server) ConnectStats(stats adapter.StatsAPI) error {
- return p.statsRPC.
C
onnect(stats)
+ return p.statsRPC.
c
onnect(stats)
}
func (p *Server) DisconnectStats() {
}
func (p *Server) DisconnectStats() {
- p.statsRPC.
D
isconnect()
+ p.statsRPC.
d
isconnect()
}
func (p *Server) ConnectBinapi(binapi adapter.VppAPI) error {
}
func (p *Server) ConnectBinapi(binapi adapter.VppAPI) error {
- return p.binapiRPC.
C
onnect(binapi)
+ return p.binapiRPC.
c
onnect(binapi)
}
func (p *Server) DisconnectBinapi() {
}
func (p *Server) DisconnectBinapi() {
- p.binapiRPC.
D
isconnect()
+ p.binapiRPC.
d
isconnect()
}
func (p *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {
}
func (p *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {