gotosocial/internal/transport
famfo 025ca487cf [feature/internal/httpclient] add option to configure outgoing protocol (#4134)
# Description

Adds a configuration option to set the outgoing transport of HTTP requests for testing purposes.

## Checklist

- [x] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md).
- [ ] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat.
- [x] I/we have not leveraged AI to create the proposed changes.
- [x] I/we have performed a self-review of added code.
- [x] I/we have written code that is legible and maintainable by others.
- [ ] I/we have commented the added code, particularly in hard-to-understand areas.
- [x] I/we have made any necessary changes to documentation.
- [ ] I/we have added tests that cover new code.
- [ ] I/we have run tests and they pass locally with the changes.
- [ ] I/we have run `go fmt ./...` and `golangci-lint run`.
  - Note: `go fmt` yes, golangci-lint fails, can't load any configuration

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4134
Reviewed-by: kim <gruf@noreply.codeberg.org>
Co-authored-by: famfo <famfo@famfo.xyz>
Co-committed-by: famfo <famfo@famfo.xyz>
2025-05-31 19:15:39 +02:00
..
delivery [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
controller.go [chore] various federatingdb tweaks (#4178) 2025-05-15 09:40:48 +00:00
deliver.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
derefdomainpermlist.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
dereference.go [chore] various federatingdb tweaks (#4178) 2025-05-15 09:40:48 +00:00
dereference_test.go [chore] Upgrade to Go 1.24 (#4187) 2025-05-22 12:26:11 +02:00
derefinstance.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
derefmedia.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
derefrobots.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
finger.go [feature/internal/httpclient] add option to configure outgoing protocol (#4134) 2025-05-31 19:15:39 +02:00
finger_test.go [bugfix] Use punycode for host part of resource query param when doing webfinger requests (#3133) 2024-07-26 13:11:07 +02:00
signing.go [chore] Move deps to code.superseriousbusiness.org (#4054) 2025-04-25 15:15:36 +02:00
transport.go [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
transport_test.go [bugfix] Fix wrong URI used in dereferenceLocal (#4097) 2025-04-30 18:19:01 +00:00