diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-05-17 17:06:47 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-06-04 16:07:39 +0200 |
commit | 447108fed2842e264897659856e9fd9cdc32ca23 (patch) | |
tree | 53687693e04496919dd84266cc1edc16746101b0 /identity | |
parent | c71e24af5172e230baa5f7dfa2078721cda38df4 (diff) | |
download | hugo-447108fed2842e264897659856e9fd9cdc32ca23.tar.gz hugo-447108fed2842e264897659856e9fd9cdc32ca23.zip |
Add a HTTP cache for remote resources.
Fixes #12502
Closes #11891
Diffstat (limited to 'identity')
-rw-r--r-- | identity/identity.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/identity/identity.go b/identity/identity.go index f924f335c..d106eb1fc 100644 --- a/identity/identity.go +++ b/identity/identity.go @@ -241,6 +241,11 @@ type IdentityProvider interface { GetIdentity() Identity } +// SignalRebuilder is an optional interface for types that can signal a rebuild. +type SignalRebuilder interface { + SignalRebuild(ids ...Identity) +} + // IncrementByOne implements Incrementer adding 1 every time Incr is called. type IncrementByOne struct { counter uint64 |