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.
type APIStore ¶
APIStore is a database of API rules.
func NewAPIStore ¶
NewAPIStore creates a database of API rules based on the provided list.
Click to show internal directories.
Click to hide internal directories.