Created
February 25, 2022 14:05
-
-
Save pjstadig/c4ced826fd0d62b6fd744a5d60d9e22e to your computer and use it in GitHub Desktop.
Protocol + client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns stadig.storage.protocol | |
(:refer-clojure :exclude [get])) | |
(defprotocol IStorage | |
(get [this bucket key]) | |
(put [this bucket key value]) | |
(delete [this bucket key]) | |
(close [this])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment