Created
October 16, 2016 13:59
-
-
Save s4l1h/79a0a6f0ae171a05e80c2b8e2b26c31d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // Cache interface | |
| type Cache interface { | |
| // Name cache provider adını döndürecek | |
| Name() string | |
| // Set cache'e data kaydeder | |
| Set(key string, data []byte) error | |
| // Get cache'ten data alır | |
| Get(key string) ([]byte, error) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment