How to Install and Uninstall golang-github-renekroon-ttlcache-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 30,2024

1. Install "golang-github-renekroon-ttlcache-dev" package

This guide let you learn how to install golang-github-renekroon-ttlcache-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install golang-github-renekroon-ttlcache-dev

2. Uninstall "golang-github-renekroon-ttlcache-dev" package

Learn how to uninstall golang-github-renekroon-ttlcache-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove golang-github-renekroon-ttlcache-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-renekroon-ttlcache-dev package on Ubuntu 21.10 (Impish Indri)

Package: golang-github-renekroon-ttlcache-dev
Architecture: all
Version: 2.3.0+ds-1
Priority: optional
Section: universe/devel
Source: golang-github-renekroon-ttlcache
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 67
Depends: golang-github-stretchr-testify-dev
Filename: pool/universe/g/golang-github-renekroon-ttlcache/golang-github-renekroon-ttlcache-dev_2.3.0+ds-1_all.deb
Size: 15684
MD5sum: 809099a822245079ab7163c880a1b187
SHA1: f4cf9a5a917852986cc538b92356274620930eed
SHA256: b5a4a0c480241f4ba012cd6471d7023ac0292b3afa6ef506b4e55845c34a08eb
SHA512: b56f400891eb7ea305be0639ffd484a6b428aa486b9ce03be271a9be0b20c68d2c01870c7805a052fa5873620dc97d2ce1fc2cb1e0424cd8a8b5dbc379d2b8f7
Homepage: https://github.com/ReneKroon/ttlcache
Description-en: In-memory string-interface{} map with expiration for Golang
TTLCache is a simple key/value cache in golang with the following functions:
.
- Thread-safe
- Individual expiring time or global expiring time, you can choose
- Auto-Extending expiration on Get
- DNS style TTL, see SkipTtlExtensionOnHit(bool)
- Fast and memory efficient
- Can trigger callback on key expiration
.
Project TTLCache was forked from wunderlist/ttlcache to add extra functions
not available in the original scope. The main differences are:
.
- An item can store any kind of object, previously, only strings could be
saved
- Optionally, you can add callbacks to: check if a value should expire, be
notified if a value expires, and be notified when new values are added
to the cache
- The expiration can be either global or per item
- Can exist items without expiration time
- Expirations and callbacks are realtime
Description-md5: 53771f748a0ba8b11e3c284cc4655913