{"repo":"ilkerkorkut/gorm-hazelcast","free":true,"listed":false,"github":"https://github.com/ilkerkorkut/gorm-hazelcast","clone":"git clone https://github.com/ilkerkorkut/gorm-hazelcast.git","description":"gorm Hazelcast Cache","language":"Go","stars":11,"topics":["go","gorm","hazelcast","hazelcast-client","cache","distributed-cache","database","database-cache"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"gorm-hazelcast ===================== The primary goal of the hzgorm project is to make it easier to cache gorm data results with a single line of code on Hazelcast. This module provides integration with Hazelcast. Download Hazelcast Hazelcast Reference Manual Requirements Hazelcast IMDG 3.6 or newer (currently not supported 4.0) - Run hazelcast with docker: Installation go get github.com/ilkerkorkut/gorm-hazelcast Usage Use gorm-hazelcast plugin with a single-line cache registration on gorm. To initialize with Options parameters, please look at Options section). There are different types of usages in examples directory. Look at Api section for additional programmatic usage. Options gorm-hazelcast provides three type option parameters during initializing. CacheAfterPersist : If CacheAfterPersist option is true , caches data after its persistence to db otherwise persists cache before persisting data on db. By default CacheAfterPersist is true Ttl : You can set Ttl (Time to Live) parameter to your options for your whole queries. By default this option is infinite. Look at Api section for query based ttl. HazelcastClientConfig : In Options HazelcastClientConfig field. You are able to set your custom Hazelcast client configuration. Api After registering hzgorm instance, you will be able to use following api methods. Supported SQL Syntax for Hazelcast Cache AND/OR: AND AND ... - active AND age 30 - active = false OR age = 45 OR name = 'Joe' - active AND ( age 20 OR salary , = = val","default_branch":null,"files":null,"tree":[],"storefront":"/r/ilkerkorkut","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ilkerkorkut/gorm-hazelcast/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}