HTTP memory cache. Microservice is built to the 12 Factor App guidelines.
Just pull the latest dependencies.
go mod download
go test ./...
go test -bench=. -benchmem -benchtime=4s -timeout=30m ./...
Assuming local builds for now, have Docker's new buildx tool ready to go:
From the project directory, execute:
# If using minikube:-
minikube start
eval $(minikube -p minikube docker-env)
# Finally
docker buildx build -t http-memcache:latest -f ./build/package/Dockerfile .
kubectl apply -f ./deployments/memcache-deployment.yaml
kubectl apply -f ./deployments/memcache-service.yaml
minikube service http-memcache-entry --url