@cryptotaxi247 / kubo / commits / 37ca4475c

feat(tour) routing

Brian Tiger Chow committed Nov 4, 2014 at 23:38 UTC 37ca4475cf1a3635db414185fffd0e4d0e30a9b9
1 file changed +30
tour/all.go
+30
@@ -11,6 +11,16 @@ func init() {
11 sort.Sort(IDSlice(IDs))
12 }
13
14 +// TODO move content into individual files if desired
15 +
16 +// TODO(brian): If sub-topics are needed, write recursively (as tree comprised
17 +// of Section nodes:
18 +//
19 +// type Section interface {
20 +// Sections() []Section
21 +// Topic() Topic
22 +// }
23 +
24 var (
25 Introduction = Chapter(0)
26 FileBasics = Chapter(1)
@@ -61,6 +71,16 @@ var allTopics = []Topic{
71 Topic{Network(3), Network_Routing},
72 Topic{Network(4), Network_Exchange},
73 Topic{Network(5), Network_Intro},
74 +
75 + Topic{Daemon(0), Daemon_Intro},
76 + Topic{Daemon(1), Daemon_Running_Commands},
77 + Topic{Daemon(2), Daemon_Web_UI},
78 +
79 + Topic{Routing(0), Routing_Intro},
80 + Topic{Routing(1), Rouing_Interface},
81 + Topic{Routing(2), Routing_Resolving},
82 + Topic{Routing(3), Routing_DHT},
83 + Topic{Routing(4), Routing_Other},
84 }
85
86 // Introduction
@@ -155,3 +175,13 @@ var Network_Daemon = Content{}
175 var Network_Routing = Content{}
176 var Network_Exchange = Content{}
177 var Network_Naming = Content{}
178 +
179 +var Daemon_Intro = Content{}
180 +var Daemon_Running_Commands = Content{}
181 +var Daemon_Web_UI = Content{}
182 +
183 +var Routing_Intro = Content{}
184 +var Rouing_Interface = Content{}
185 +var Routing_Resolving = Content{}
186 +var Routing_DHT = Content{}
187 +var Routing_Other = Content{}