Pike.Store behaviour (pike v0.3.0)
View SourceBehaviour module defining the interface for Pike API key stores.
Any module used as a store in Pike must implement these functions.
Summary
Callbacks
Checks if the given key struct permits the specified action on a resource.
Optional: Deletes a key from the store.
Inserts a key into the store. Used primarily for in-memory stores like ETS.
Optional: Updates a key in the store.
Callbacks
Checks if the given key struct permits the specified action on a resource.
Optional: Deletes a key from the store.
Inserts a key into the store. Used primarily for in-memory stores like ETS.
Optional: Updates a key in the store.