fix:#56 added update for grpc

This commit is contained in:
Elmar Kresse
2024-10-06 20:11:03 +02:00
parent a12f9590f3
commit d8a7cc5387
10 changed files with 68 additions and 11 deletions

View File

@@ -39,8 +39,15 @@ func main() {
}
grpcClient := grpc.ConnectGRPCServer(host)
// Close the grpc connection when the main function ends
defer grpc.CloseGRPCServer(grpcClient)
// Log the grpc connection
// Test the connection to the grpc server
grpcClient.Connect()
slog.Info("GRPC connection state", "state", grpcClient.GetState())
// Initialize a new Fiber app
webdavRequestMethods := []string{"PROPFIND", "MKCOL", "COPY", "MOVE"}