1 <!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/devguides/master/xds-docs-guides-devguides-book.yml -->
4 ## XDS server architecture
6 The server part is written in *Go* and web app (basic HTML) in *Angular4*.
10 +-- bin/ # where xds-server binary file will be built
12 +-- conf.d/ # Linux configuration and startup files (systemd user service)
14 +-- glide.yaml # Go package dependency file
16 +-- lib/ # sources of server part (Go)
18 +-- LICENSE # XDS server license
20 +-- main.go # main entry point of of Web server (Go)
22 +-- Makefile # makefile including
24 +-- README.md # readme
26 +-- scripts/ # hold various scripts used for installation or startup
28 +-- test/ # XDS test suite
30 +-- tools/ # temporary directory to hold development tools (like glide)
32 +-- vendor/ # temporary directory to hold Go dependencies packages
34 +-- webapp/ # source client basic web application
37 ## Debug server part (Go code)
39 Install first [Visual Studio Code](https://code.visualstudio.com/) and
40 [Go plugin](https://marketplace.visualstudio.com/items?itemName=lukehoban.Go)
41 (`ext install lukehoban.Go`)
43 Visual Studio Code launcher settings can be found into `.vscode/launch.json`.
45 Please follow instructions of xds-agent [debugging chapter](../2_xds-agent/4_debug.html#debug-xds-agent-go-code),
46 knowing that you execute these same instructions in `xds-server` repo, in other words
47 by replacing *xds-agent* references by *xds-server*.