lestrrat-go / httprc

Quasi Up-to-date HTTP In-memory Cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[v2] Hide Fetcher from public API

lestrrat opened this issue · comments

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.