awl/pkg/resolvers
Sam 81da49093d
All checks were successful
continuous-integration/drone/push Build is passing
refactor: Make all calls to options pointers (#132)
Instead of copying the opts struct every time it gets passed around, it should be created once and passed through reference.

This should reduce memory utilization, unfortunately I cannot test it since this program runs so fast pprof won't report anything useful.

I think I found all of them 🙂

Co-authored-by: Sam Therapy <sam@samtherapy.net>
Reviewed-on: #132
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-10-13 12:49:36 +00:00
..
DNSCrypt.go refactor: Make all calls to options pointers (#132) 2022-10-13 12:49:36 +00:00
DNSCrypt_test.go refactor: Make all calls to options pointers (#132) 2022-10-13 12:49:36 +00:00
docs.go feat(resolvers/HTTPS): add HTTP proxy support (#119) 2022-09-28 18:08:56 +00:00
general.go refactor: Make all calls to options pointers (#132) 2022-10-13 12:49:36 +00:00
general_test.go refactor: Make all calls to options pointers (#132) 2022-10-13 12:49:36 +00:00
HTTPS.go refactor: Make all calls to options pointers (#132) 2022-10-13 12:49:36 +00:00
HTTPS_test.go refactor: Make all calls to options pointers (#132) 2022-10-13 12:49:36 +00:00
QUIC.go refactor: Make all calls to options pointers (#132) 2022-10-13 12:49:36 +00:00
QUIC_test.go refactor: Make all calls to options pointers (#132) 2022-10-13 12:49:36 +00:00
resolver.go refactor: Make all calls to options pointers (#132) 2022-10-13 12:49:36 +00:00