https://github.com/imkira/go-ttlmap
go-ttlmap is a Go package that provides an in-memory key-value cache with notification events for storing TTL-based expirable items.
https://github.com/imkira/go-ttlmap
go in-memory key-value map ttl
Last synced: 5 months ago
JSON representation
go-ttlmap is a Go package that provides an in-memory key-value cache with notification events for storing TTL-based expirable items.
- Host: GitHub
- URL: https://github.com/imkira/go-ttlmap
- Owner: imkira
- License: mit
- Created: 2016-03-02T12:00:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-19T10:35:04.000Z (over 9 years ago)
- Last Synced: 2024-06-18T21:30:51.648Z (almost 2 years ago)
- Topics: go, in-memory, key-value, map, ttl
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 23
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-ttlmap
[](https://github.com/imkira/go-ttlmap/blob/master/LICENSE.txt)
[](https://godoc.org/github.com/imkira/go-ttlmap)
[](https://travis-ci.org/imkira/go-ttlmap)
[](https://codecov.io/gh/imkira/go-ttlmap)
[](https://codebeat.co/projects/github-com-imkira-go-ttlmap)
[](https://goreportcard.com/report/github.com/imkira/go-ttlmap)
go-ttlmap is a [Go](http://golang.org) package that provides an in-memory
key-value cache with notification events for storing TTL-based expirable items.
## Install
First, you need to install the package:
```go
go get -u github.com/imkira/go-ttlmap
```
## Documentation
For advanced usage, make sure to check the
[available documentation here](http://godoc.org/github.com/imkira/go-ttlmap).
## Examples
For examples check out the following
[code](http://github.com/imkira/go-ttlmap/tree/master/examples).
## Contribute
Found a bug? Want to contribute and add a new feature?
Please fork this project and send me a pull request!
## License
go-ttlmap is licensed under the MIT license:
www.opensource.org/licenses/MIT
## Copyright
Copyright (c) 2016 Mario Freitas. See
[LICENSE](http://github.com/imkira/go-ttlmap/blob/master/LICENSE)
for further details.