Skip to content

Commit

Permalink
tweak interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Daisuke Maki committed Nov 11, 2024
1 parent 45121e9 commit b16df92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jwk/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ func (c *Cache) Unregister(ctx context.Context, u string) error {
// Make sure that you read the documentation for `jwk.Cache` as well.
type CachedSet interface {
Set
cached() (Set, error) // used as a marker
}

type cachedSet struct {
Expand Down

0 comments on commit b16df92

Please sign in to comment.