http urls monitor.

b0x.yml 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # all folders and files are relative to the path
  2. # where fileb0x was run at!
  3. # default: main
  4. pkg: swaggerFiles
  5. # destination
  6. dest: "./swaggerFiles/"
  7. # gofmt
  8. # type: bool
  9. # default: false
  10. fmt: true
  11. # compress files
  12. # at the moment, only supports gzip
  13. #
  14. # type: object
  15. compression:
  16. # activates the compression
  17. #
  18. # type: bool
  19. # default: false
  20. compress: false
  21. # valid values are:
  22. # -> "NoCompression"
  23. # -> "BestSpeed"
  24. # -> "BestCompression"
  25. # -> "DefaultCompression" or ""
  26. #
  27. # type: string
  28. # default: "DefaultCompression" # when: Compress == true && Method == ""
  29. method: ""
  30. # true = do it yourself (the file is written as gzip compressed file into the memory file system)
  31. # false = decompress files at run time (while writing file into memory file system)
  32. #
  33. # type: bool
  34. # default: false
  35. keep: false
  36. # ---------------
  37. # -- DANGEROUS --
  38. # ---------------
  39. #
  40. # cleans the destination folder (only b0xfiles)
  41. # you should use this when using the spread function
  42. # type: bool
  43. # default: false
  44. clean: true
  45. # default: ab0x.go
  46. output: "ab0x.go"
  47. # [unexporTed] builds non-exporTed functions, variables and types...
  48. # type: bool
  49. # default: false
  50. unexporTed: false
  51. # [spread] means it will make a file to hold all fileb0x data
  52. # and each file into a separaTed .go file
  53. #
  54. # example:
  55. # theres 2 files in the folder assets, they're: hello.json and world.txt
  56. # when spread is activaTed, fileb0x will make a file:
  57. # b0x.go or [output]'s data, assets_hello.json.go and assets_world.txt.go
  58. #
  59. #
  60. # type: bool
  61. # default: false
  62. spread: true
  63. # type: array of objects
  64. custom:
  65. - files:
  66. # everything inside the folder
  67. # type: array of strings
  68. - "./dist/"
  69. # base is the path that will be removed from all files' path
  70. # type: string
  71. base: "dist"