🌐 AI搜索 & 代理 主页
http_config: Allow customizing TLS config and settings. (#748)

* http_config: Allow customizing TLS config and settings.


Signed-off-by: bwplotka <bwplotka@gmail.com>

* Switched to newTLSConfigFunc

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Addressed comments.

Signed-off-by: bwplotka <bwplotka@gmail.com>

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
1 file changed
tree: 49dba3e5d77f335174b075a8b31c3452495c1665
  1. .circleci/
  2. .github/
  3. assets/
  4. config/
  5. expfmt/
  6. helpers/
  7. model/
  8. promslog/
  9. route/
  10. scripts/
  11. server/
  12. version/
  13. .gitignore
  14. .golangci.yml
  15. .yamllint
  16. CODE_OF_CONDUCT.md
  17. CONTRIBUTING.md
  18. go.mod
  19. go.sum
  20. LICENSE
  21. MAINTAINERS.md
  22. Makefile
  23. Makefile.common
  24. NOTICE
  25. README.md
  26. RELEASE.md
  27. SECURITY.md
README.md

Common

circleci

This repository contains Go libraries that are shared across Prometheus components and libraries. They are considered internal to Prometheus, without any stability guarantees for external usage.

  • assets: Embedding of static assets with gzip support
  • config: Common configuration structures
  • expfmt: Decoding and encoding for the exposition format
  • model: Shared data structures
  • promslog: A logging wrapper around log/slog
  • route: A routing wrapper around httprouter using context.Context
  • server: Common servers
  • version: Version information and metrics