Description
Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.Examples
Dependency:
go get github.com/testcontainers/testcontainers-go/modules/memcached
Usage:
memcachedContainer, err := memcached.Run(context.Background(), "memcached:1.6-alpine")
Dependency:
pip install testcontainers[memcached]
Usage:
with MemcachedContainer(image = "memcached:1.6-alpine") as memcached:
host, port = memcached.get_host_and_port()