An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# go-ttlmap

[![License](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://github.com/imkira/go-ttlmap/blob/master/LICENSE.txt)
[![GoDoc](https://godoc.org/github.com/imkira/go-ttlmap?status.svg)](https://godoc.org/github.com/imkira/go-ttlmap)
[![Build Status](http://img.shields.io/travis/imkira/go-ttlmap.svg?style=flat)](https://travis-ci.org/imkira/go-ttlmap)
[![Coverage](https://codecov.io/gh/imkira/go-ttlmap/branch/master/graph/badge.svg)](https://codecov.io/gh/imkira/go-ttlmap)
[![codebeat badge](https://codebeat.co/badges/2144b08d-ed7f-4cf1-80e5-529c5751268c)](https://codebeat.co/projects/github-com-imkira-go-ttlmap)
[![goreportcard](https://goreportcard.com/badge/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.