Browse Source

SVI Переделки под единообразную структуру; 76.2;

user 9 months ago
parent
commit
87c4122edb
60 changed files with 16 additions and 2 deletions
  1. 13 0
      README.md
  2. 3 2
      make.py
  3. 0 0
      web/bootstrap-5.3.2-dist.zip
  4. 0 0
      web/css/bootstrap-grid.css
  5. 0 0
      web/css/bootstrap-grid.css.map
  6. 0 0
      web/css/bootstrap-grid.min.css
  7. 0 0
      web/css/bootstrap-grid.min.css.map
  8. 0 0
      web/css/bootstrap-grid.rtl.css
  9. 0 0
      web/css/bootstrap-grid.rtl.css.map
  10. 0 0
      web/css/bootstrap-grid.rtl.min.css
  11. 0 0
      web/css/bootstrap-grid.rtl.min.css.map
  12. 0 0
      web/css/bootstrap-reboot.css
  13. 0 0
      web/css/bootstrap-reboot.css.map
  14. 0 0
      web/css/bootstrap-reboot.min.css
  15. 0 0
      web/css/bootstrap-reboot.min.css.map
  16. 0 0
      web/css/bootstrap-reboot.rtl.css
  17. 0 0
      web/css/bootstrap-reboot.rtl.css.map
  18. 0 0
      web/css/bootstrap-reboot.rtl.min.css
  19. 0 0
      web/css/bootstrap-reboot.rtl.min.css.map
  20. 0 0
      web/css/bootstrap-utilities.css
  21. 0 0
      web/css/bootstrap-utilities.css.map
  22. 0 0
      web/css/bootstrap-utilities.min.css
  23. 0 0
      web/css/bootstrap-utilities.min.css.map
  24. 0 0
      web/css/bootstrap-utilities.rtl.css
  25. 0 0
      web/css/bootstrap-utilities.rtl.css.map
  26. 0 0
      web/css/bootstrap-utilities.rtl.min.css
  27. 0 0
      web/css/bootstrap-utilities.rtl.min.css.map
  28. 0 0
      web/css/bootstrap.css
  29. 0 0
      web/css/bootstrap.css.map
  30. 0 0
      web/css/bootstrap.min.css
  31. 0 0
      web/css/bootstrap.min.css.map
  32. 0 0
      web/css/bootstrap.rtl.css
  33. 0 0
      web/css/bootstrap.rtl.css.map
  34. 0 0
      web/css/bootstrap.rtl.min.css
  35. 0 0
      web/css/bootstrap.rtl.min.css.map
  36. 0 0
      web/js/bootstrap.bundle.js
  37. 0 0
      web/js/bootstrap.bundle.js.map
  38. 0 0
      web/js/bootstrap.bundle.min.js
  39. 0 0
      web/js/bootstrap.bundle.min.js.map
  40. 0 0
      web/js/bootstrap.esm.js
  41. 0 0
      web/js/bootstrap.esm.js.map
  42. 0 0
      web/js/bootstrap.esm.min.js
  43. 0 0
      web/js/bootstrap.esm.min.js.map
  44. 0 0
      web/js/bootstrap.js
  45. 0 0
      web/js/bootstrap.js.map
  46. 0 0
      web/js/bootstrap.min.js
  47. 0 0
      web/js/bootstrap.min.js.map
  48. 0 0
      web/js/htmx.min.js
  49. 0 0
      web/tmpl/anonym.tmpl.html
  50. 0 0
      web/tmpl/anonym_del.tmpl.html
  51. 0 0
      web/tmpl/anonym_find.tmpl.html
  52. 0 0
      web/tmpl/anonym_get.tmpl.html
  53. 0 0
      web/tmpl/anonym_links.tmpl.html
  54. 0 0
      web/tmpl/anonym_list.tmpl.html
  55. 0 0
      web/tmpl/anonym_put.tmpl.html
  56. 0 0
      web/tmpl/footer.tmpl.html
  57. 0 0
      web/tmpl/header.tmpl.html
  58. 0 0
      web/tmpl/index.tmpl.html
  59. 0 0
      web/tmpl/links.tmpl.html
  60. 0 0
      web/tmpl/time.tmpl.html

+ 13 - 0
README.md

@@ -9,6 +9,19 @@ Cетевое хранилище на `golang`.
 Хранилище включает несколько возможностей, разбитых по группам.
 
 - [анонимное хранилище](./doc/anonym.md);
+- именованное хранилище.
+
+## Структура хранилища
+
+```mermaid
+flowchart TD
+  IService
+  IStore
+  IServHttp
+
+  IServHttp --> IService
+  IStore --> IService
+```
 
 ## Работа через прокси
 

+ 3 - 2
make.py

@@ -4,7 +4,7 @@ import os
 import subprocess
 
 build = "go build -o ./bin/gostore ./cmd/gostore/main.go"
-build_dev = "go build -o " +\
+build_dev = "go build -race -o " +\
     "./bin_dev/gostore_dev ./cmd/gostore/main.go"
 
 
@@ -52,6 +52,7 @@ class TBuild:
         os.system(build)
         os.system("strip -s ./bin/notify_service")
         os.system("upx -f ./bin/notify_service")
+        os.system("cp -rf ./web ./bin")
 
 
 class TDev:
@@ -74,7 +75,7 @@ class TDev:
         os.system(build_dev)
 
         os.chdir('./bin_dev')
-        os.system('./fedor_dev')
+        os.system('./gostore_dev')
 
 
 class TMod:

+ 0 - 0
static/bootstrap-5.3.2-dist.zip → web/bootstrap-5.3.2-dist.zip


+ 0 - 0
static/css/bootstrap-grid.css → web/css/bootstrap-grid.css


+ 0 - 0
static/css/bootstrap-grid.css.map → web/css/bootstrap-grid.css.map


+ 0 - 0
static/css/bootstrap-grid.min.css → web/css/bootstrap-grid.min.css


+ 0 - 0
static/css/bootstrap-grid.min.css.map → web/css/bootstrap-grid.min.css.map


+ 0 - 0
static/css/bootstrap-grid.rtl.css → web/css/bootstrap-grid.rtl.css


+ 0 - 0
static/css/bootstrap-grid.rtl.css.map → web/css/bootstrap-grid.rtl.css.map


+ 0 - 0
static/css/bootstrap-grid.rtl.min.css → web/css/bootstrap-grid.rtl.min.css


+ 0 - 0
static/css/bootstrap-grid.rtl.min.css.map → web/css/bootstrap-grid.rtl.min.css.map


+ 0 - 0
static/css/bootstrap-reboot.css → web/css/bootstrap-reboot.css


+ 0 - 0
static/css/bootstrap-reboot.css.map → web/css/bootstrap-reboot.css.map


+ 0 - 0
static/css/bootstrap-reboot.min.css → web/css/bootstrap-reboot.min.css


+ 0 - 0
static/css/bootstrap-reboot.min.css.map → web/css/bootstrap-reboot.min.css.map


+ 0 - 0
static/css/bootstrap-reboot.rtl.css → web/css/bootstrap-reboot.rtl.css


+ 0 - 0
static/css/bootstrap-reboot.rtl.css.map → web/css/bootstrap-reboot.rtl.css.map


+ 0 - 0
static/css/bootstrap-reboot.rtl.min.css → web/css/bootstrap-reboot.rtl.min.css


+ 0 - 0
static/css/bootstrap-reboot.rtl.min.css.map → web/css/bootstrap-reboot.rtl.min.css.map


+ 0 - 0
static/css/bootstrap-utilities.css → web/css/bootstrap-utilities.css


+ 0 - 0
static/css/bootstrap-utilities.css.map → web/css/bootstrap-utilities.css.map


+ 0 - 0
static/css/bootstrap-utilities.min.css → web/css/bootstrap-utilities.min.css


+ 0 - 0
static/css/bootstrap-utilities.min.css.map → web/css/bootstrap-utilities.min.css.map


+ 0 - 0
static/css/bootstrap-utilities.rtl.css → web/css/bootstrap-utilities.rtl.css


+ 0 - 0
static/css/bootstrap-utilities.rtl.css.map → web/css/bootstrap-utilities.rtl.css.map


+ 0 - 0
static/css/bootstrap-utilities.rtl.min.css → web/css/bootstrap-utilities.rtl.min.css


+ 0 - 0
static/css/bootstrap-utilities.rtl.min.css.map → web/css/bootstrap-utilities.rtl.min.css.map


+ 0 - 0
static/css/bootstrap.css → web/css/bootstrap.css


+ 0 - 0
static/css/bootstrap.css.map → web/css/bootstrap.css.map


+ 0 - 0
static/css/bootstrap.min.css → web/css/bootstrap.min.css


+ 0 - 0
static/css/bootstrap.min.css.map → web/css/bootstrap.min.css.map


+ 0 - 0
static/css/bootstrap.rtl.css → web/css/bootstrap.rtl.css


+ 0 - 0
static/css/bootstrap.rtl.css.map → web/css/bootstrap.rtl.css.map


+ 0 - 0
static/css/bootstrap.rtl.min.css → web/css/bootstrap.rtl.min.css


+ 0 - 0
static/css/bootstrap.rtl.min.css.map → web/css/bootstrap.rtl.min.css.map


+ 0 - 0
static/js/bootstrap.bundle.js → web/js/bootstrap.bundle.js


+ 0 - 0
static/js/bootstrap.bundle.js.map → web/js/bootstrap.bundle.js.map


+ 0 - 0
static/js/bootstrap.bundle.min.js → web/js/bootstrap.bundle.min.js


+ 0 - 0
static/js/bootstrap.bundle.min.js.map → web/js/bootstrap.bundle.min.js.map


+ 0 - 0
static/js/bootstrap.esm.js → web/js/bootstrap.esm.js


+ 0 - 0
static/js/bootstrap.esm.js.map → web/js/bootstrap.esm.js.map


+ 0 - 0
static/js/bootstrap.esm.min.js → web/js/bootstrap.esm.min.js


+ 0 - 0
static/js/bootstrap.esm.min.js.map → web/js/bootstrap.esm.min.js.map


+ 0 - 0
static/js/bootstrap.js → web/js/bootstrap.js


+ 0 - 0
static/js/bootstrap.js.map → web/js/bootstrap.js.map


+ 0 - 0
static/js/bootstrap.min.js → web/js/bootstrap.min.js


+ 0 - 0
static/js/bootstrap.min.js.map → web/js/bootstrap.min.js.map


+ 0 - 0
static/js/htmx.min.js → web/js/htmx.min.js


+ 0 - 0
static/tmpl/anonym.tmpl.html → web/tmpl/anonym.tmpl.html


+ 0 - 0
static/tmpl/anonym_del.tmpl.html → web/tmpl/anonym_del.tmpl.html


+ 0 - 0
static/tmpl/anonym_find.tmpl.html → web/tmpl/anonym_find.tmpl.html


+ 0 - 0
static/tmpl/anonym_get.tmpl.html → web/tmpl/anonym_get.tmpl.html


+ 0 - 0
static/tmpl/anonym_links.tmpl.html → web/tmpl/anonym_links.tmpl.html


+ 0 - 0
static/tmpl/anonym_list.tmpl.html → web/tmpl/anonym_list.tmpl.html


+ 0 - 0
static/tmpl/anonym_put.tmpl.html → web/tmpl/anonym_put.tmpl.html


+ 0 - 0
static/tmpl/footer.tmpl.html → web/tmpl/footer.tmpl.html


+ 0 - 0
static/tmpl/header.tmpl.html → web/tmpl/header.tmpl.html


+ 0 - 0
static/tmpl/index.tmpl.html → web/tmpl/index.tmpl.html


+ 0 - 0
static/tmpl/links.tmpl.html → web/tmpl/links.tmpl.html


+ 0 - 0
static/tmpl/time.tmpl.html → web/tmpl/time.tmpl.html