Commit graph

7 commits

Author SHA1 Message Date
Jonathan Barrow
73871a4537
remove database.PIDArrayToString in favor of pq.Array 2023-10-06 19:13:19 -04:00
Daniel López Guimaraes
8d8a05a7e2
Add missing error handling
Now database getters do error handling aswell, and in case of any error,
the NEX or GRPC method throws a proper error about it.

There are still some doubts on how to handle errors when a list of data
is processed, so for now skip that element on the list and continue.

Also add some constant errors to do better error handling.
2023-08-13 23:19:34 +01:00
Daniel López Guimaraes
2f80336681
Rename friends-secure to friends and remove Mongo
Replace MongoDB usage with GRPC calls to the account server. Also
include documentation on the README and a Makefile.
2023-08-13 01:05:08 +01:00
light
b4ce1e275b Update database 2023-02-23 20:59:02 -05:00
Jonathan Barrow
ca54e576d5
Move from Cassandra to Postgres 2022-09-11 02:22:37 -04:00
Jonathan Barrow
9ed6d3add8
Updated database logger to globals.Logger 2022-09-10 14:23:45 -04:00
Jonathan Barrow
5b5d9db244
Split database.go into own functions, made database package, made globals package 2022-09-10 09:03:37 -04:00