⬆️ Using Paperclip as attachment provider

This commit is contained in:
2024-05-17 20:52:13 +08:00
parent 80a8a31726
commit 827423ae3f
13 changed files with 106 additions and 469 deletions

View File

@@ -41,8 +41,11 @@ func main() {
}
// Connect other services
if err := grpc.ConnectPaperclip(); err != nil {
log.Fatal().Err(err).Msg("An error occurred when connecting to paperclip...")
}
if err := grpc.ConnectPassport(); err != nil {
log.Fatal().Err(err).Msg("An error occurred when connecting to passport grpc endpoint...")
log.Fatal().Err(err).Msg("An error occurred when connecting to passport...")
}
// Configure timed tasks