From a84c6a1d6ce94ff83885a1717ad4af7f12757e20 Mon Sep 17 00:00:00 2001 From: Lewin Kelly Date: Thu, 12 Oct 2023 06:29:30 +0100 Subject: [PATCH] Write Mercury Sync Server in Go --- Sync/Server/.gitignore | 169 -------------------------------------- Sync/Server/bun.lockb | Bin 3861 -> 0 bytes Sync/Server/go.mod | 38 +++++++++ Sync/Server/go.sum | 115 ++++++++++++++++++++++++++ Sync/Server/main.go | 110 +++++++++++++++++++++++++ Sync/Server/package.json | 14 ---- Sync/Server/tsconfig.json | 21 ----- default.project.json | 16 ---- 8 files changed, 263 insertions(+), 220 deletions(-) delete mode 100644 Sync/Server/.gitignore delete mode 100644 Sync/Server/bun.lockb create mode 100644 Sync/Server/go.mod create mode 100644 Sync/Server/go.sum create mode 100644 Sync/Server/main.go delete mode 100644 Sync/Server/package.json delete mode 100644 Sync/Server/tsconfig.json delete mode 100644 default.project.json diff --git a/Sync/Server/.gitignore b/Sync/Server/.gitignore deleted file mode 100644 index f81d56e..0000000 --- a/Sync/Server/.gitignore +++ /dev/null @@ -1,169 +0,0 @@ -# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore - -# Logs - -logs -_.log -npm-debug.log_ -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -.pnpm-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) - -report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json - -# Runtime data - -pids -_.pid -_.seed -\*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover - -lib-cov - -# Coverage directory used by tools like istanbul - -coverage -\*.lcov - -# nyc test coverage - -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) - -.grunt - -# Bower dependency directory (https://bower.io/) - -bower_components - -# node-waf configuration - -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) - -build/Release - -# Dependency directories - -node_modules/ -jspm_packages/ - -# Snowpack dependency directory (https://snowpack.dev/) - -web_modules/ - -# TypeScript cache - -\*.tsbuildinfo - -# Optional npm cache directory - -.npm - -# Optional eslint cache - -.eslintcache - -# Optional stylelint cache - -.stylelintcache - -# Microbundle cache - -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history - -.node_repl_history - -# Output of 'npm pack' - -\*.tgz - -# Yarn Integrity file - -.yarn-integrity - -# dotenv environment variable files - -.env -.env.development.local -.env.test.local -.env.production.local -.env.local - -# parcel-bundler cache (https://parceljs.org/) - -.cache -.parcel-cache - -# Next.js build output - -.next -out - -# Nuxt.js build / generate output - -.nuxt -dist - -# Gatsby files - -.cache/ - -# Comment in the public line in if your project uses Gatsby and not Next.js - -# https://nextjs.org/blog/next-9-1#public-directory-support - -# public - -# vuepress build output - -.vuepress/dist - -# vuepress v2.x temp and cache directory - -.temp -.cache - -# Docusaurus cache and generated files - -.docusaurus - -# Serverless directories - -.serverless/ - -# FuseBox cache - -.fusebox/ - -# DynamoDB Local files - -.dynamodb/ - -# TernJS port file - -.tern-port - -# Stores VSCode versions used for testing VSCode extensions - -.vscode-test - -# yarn v2 - -.yarn/cache -.yarn/unplugged -.yarn/build-state.yml -.yarn/install-state.gz -.pnp.\* diff --git a/Sync/Server/bun.lockb b/Sync/Server/bun.lockb deleted file mode 100644 index ba54193e94cae26aa7007575c09366bd200456e7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3861 zcmds3X;2hL6rP1ua1}XJkQl=XA_cOu2P*>M5Gdo3LK81k3gWU1n~}Yo*(HEdwWy%c zWaC{b7)43cctwL6l|;%TVw9+*7@-g-4JDRDBN5MldA&QmE`$hH^272~&AjgE{=WBK z_v@bLH%x3~8F4DD6;s+wVX9FpfJda(DKpY(H6=>dF&c$IlqnH75CjqXi)+oh*&YiT0>r;3F!Deff=p&`hW@!aM z%!jrML6{iOFv&!7dKPFm=r7?Bgg5B%(02zd;Krwv-<$ksN!z;kEjJ(6MOEj!))(HC zn&*7-r1UK>XYW&IhPyi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