lestrrat-go / httprc

Quasi Up-to-date HTTP In-memory Cache
MIT License
17 stars 5 forks source link

[v2] Hide Fetcher from public API #11

Closed lestrrat closed 7 months ago

lestrrat commented 8 months ago

The fetcher mechanism is actually quite complicated, and I believe we need to hide it from the user instead of making them think they can easily replace it with their own implementation.

We may be able to allow users to provide a much simpler alternate Fetcher interface that only does one single fetch.