Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APICache ¶
APICache represents an API cache.
func NewAPICache ¶
NewAPICache creates a new API cache
func (*APICache) Find ¶
Find finds a URI in the cache and returns true and the data if found. If not found it returns false.
func (*APICache) FindAndMatchScope ¶
FindAndMatchScope finds the rule and returns true only if the scope matches as well. It also returns true of this was a public rule, allowing the callers to decide how to present the data or potentially what to do if authorization fails.
Click to show internal directories.
Click to hide internal directories.