Code Review
/
src
/
xds
/
xds-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add API KEY support to allow CORS requests.
[src/xds/xds-agent.git]
/
lib
/
agent
/
agent.go
diff --git
a/lib/agent/agent.go
b/lib/agent/agent.go
index
80c97f7
..
74872f7
100644
(file)
--- a/
lib/agent/agent.go
+++ b/
lib/agent/agent.go
@@
-11,7
+11,7
@@
import (
"github.com/codegangsta/cli"
"github.com/iotbzh/xds-agent/lib/syncthing"
"github.com/iotbzh/xds-agent/lib/xdsconfig"
"github.com/codegangsta/cli"
"github.com/iotbzh/xds-agent/lib/syncthing"
"github.com/iotbzh/xds-agent/lib/xdsconfig"
- "github.com/iotbzh/xds-agent/lib/
xds
server"
+ "github.com/iotbzh/xds-agent/lib/
web
server"
)
// Context holds the Agent context structure
)
// Context holds the Agent context structure
@@
-22,7
+22,7
@@
type Context struct {
SThg *st.SyncThing
SThgCmd *exec.Cmd
SThgInotCmd *exec.Cmd
SThg *st.SyncThing
SThgCmd *exec.Cmd
SThgInotCmd *exec.Cmd
- WWWServer *
xds
server.ServerService
+ WWWServer *
web
server.ServerService
Exit chan os.Signal
}
Exit chan os.Signal
}