Skip to content

Conversation

@bgentry
Copy link
Contributor

@bgentry bgentry commented Aug 16, 2025

Although it must be "started" for its background caching routine to function, this type ultimately still functions as an http.Handler which can be embedded into an http.ServeMux or other handler-compatible router. It does not function as an http.Server and the prior naming caused confusion in this regard.

Bite the bullet on the breaking rename while we already have other breaking changes going out for the endpoints concept.

@bgentry bgentry requested a review from brandur August 16, 2025 18:23
@bgentry bgentry force-pushed the bg-refactor-server-name branch from cec0def to b08b92e Compare August 16, 2025 18:24
Base automatically changed from bg-upgrade-go-and-lint to master August 16, 2025 20:06
Although it must be "started" for its background caching routine to
function, this type ultimately still functions as an `http.Handler`
which can be embedded into an `http.ServeMux` or other
handler-compatible router. It does _not_ function as an `http.Server`
and the prior naming caused confusion in this regard.

Bite the bullet on the breaking rename while we already have other
breaking changes going out for the endpoints concept.
@bgentry bgentry force-pushed the bg-refactor-server-name branch from b08b92e to 6df5950 Compare August 16, 2025 20:07
@bgentry bgentry enabled auto-merge (squash) August 16, 2025 20:07
@bgentry bgentry disabled auto-merge August 16, 2025 20:09
@bgentry bgentry merged commit 69bfe33 into master Aug 16, 2025
19 checks passed
@bgentry bgentry deleted the bg-refactor-server-name branch August 16, 2025 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants