Socket
Socket
Sign inDemoInstall

github.com/defcronyke/godscache

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/defcronyke/godscache

Package godscache is a wrapper around the official Google Cloud Datastore Go client library "cloud.google.com/go/datastore", which adds caching to datastore requests using memcached. Its name is a play on words, and it's actually called Go DS Cache. Note that it is wrapping the newer datastore library, which is intended for use with App Engine Flexible Environment, Compute Engine, or Kubernetes Engine, and is not for use with App Engine Standard. If you're looking for something similar for App Engine Standard, check out the highly recommended nds library: https://godoc.org/github.com/qedus/nds For the official Google library documentation, go here: https://godoc.org/cloud.google.com/go/datastore Godscache follows the Google Cloud Datastore client library API very closely, to act as a drop-in replacement for the official library from Google. Things which aren't implemented in this library can be used anyway, they just won't be cached. For example, the Client struct holds a Parent member which is the raw Google Datastore client, so you can use that instead to make your requests if you need to use some feature that's not implemented in godscache, or if you want to bypass the cache for some reason. To use godscache, you will need a Google Cloud project with an initialized Datastore on it, and a memcached instance to connect to. You can connect to as many memcached instances as you want.


Version published

Readme

Source

Go DS Cache

Build Status Coverage Status Go Report Card Awesome Go Gitter chat Freenode chat GoDoc

An unofficial Google Cloud Platform Go Datastore wrapper that adds caching using memcached.

For App Engine Flexible, Compute Engine, Kubernetes Engine, and more.

Documentation is here: https://godoc.org/github.com/defcronyke/godscache

FAQs

Last updated on 08 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc