File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111
1212/*
1313 TODO: watchdog for session
14- Live sessions and transactions can be montired through Redis and PostgreSQL
14+ Live sessions and transactions can be monitored through Redis and PostgreSQL
1515 the watchdog here shows the processing happening, which needs to be done in the
1616 later stages of development
1717*/
@@ -64,3 +64,27 @@ func (m *Manager) IssueTransaction(w http.ResponseWriter, r *http.Request) {
6464 "txn_id" : tx .ID .String (),
6565 })
6666}
67+
68+ /*
69+ get single session data
70+ requires user authentication from middleware
71+ user/
72+ */
73+
74+ /*
75+ get user transactions information
76+ requires user authentication from middleware
77+ user/
78+ */
79+
80+ /*
81+ get all sessions in the system
82+ requires admin authentication from middleware
83+ admin/
84+ */
85+
86+ /*
87+ get all transaction in the system
88+ requires admin authentication from middleware
89+ admin/
90+ */
You can’t perform that action at this time.
0 commit comments