You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TODO.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
- DONE: save current state of resources before terminating (or even periodically)
14
14
- DONE: load last state of resources at startup
15
15
- DONE: LINK operation to link a resource to another resource
16
+
- DONE: replace all occurences of "interface{}" with "any"
16
17
17
18
- IMPORTANT/DIFFICULT: websocket timeout after some time of no or only invalid, or unauthorized request
18
19
- IMPORTANT/EASY-MEDIUM: change STREAM behavior: allow multiple streams of same resource but with different REID
@@ -21,7 +22,6 @@
21
22
22
23
- UNIMPORTANT/MEDIUM-DIFFICULT: overhaul interface to heimdall (redis seems unergonomic and clunky), maybe use http endpoint in heimdall to check authentication and cache the result
23
24
- UNIMPORTANT/MEDIUM: overhaul snapshotting (make it more robust, maybe change "gob" AND "msgpack" to just "msgpack" -> cannot differentiate between directory and resource content)
24
-
- UNIMPORTANT/EASY: replace all occurences of "interface{}" with "any"
25
25
- UNIMPORTANT/MEDIUM: export prometheus metrics
26
26
- UNIMPORTANT/DIFFICULT: fine grained access control
Copy file name to clipboardExpand all lines: resource/broker/broker.go
+24-24Lines changed: 24 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -32,33 +32,33 @@ var (
32
32
typebrokerstruct {
33
33
path []string// resource path
34
34
35
-
inputchaninputMsg// input channel (only for PUT)
36
-
controlchancontrolMsg// control channel (for everything else than PUT)
37
-
streamsmap[chaninterface{}]bool// keeps track of active subscriber streams (value indicates whether the channel is infinite->blocking-send or finite->non-blocking-send)
38
-
linksmap[*broker]chaninterface{}// keeps track of active links from other resources
35
+
inputchaninputMsg// input channel (only for PUT)
36
+
controlchancontrolMsg// control channel (for everything else than PUT)
37
+
streamsmap[chanany]bool// keeps track of active subscriber streams (value indicates whether the channel is infinite->blocking-send or finite->non-blocking-send)
38
+
linksmap[*broker]chanany// keeps track of active links from other resources
0 commit comments