Skip to content

luigizuccarelli/golang-redis-interface

Repository files navigation

Go simple service

Simple utility for testing web services on Microlib. Uses a generic script script.sh to simulate start & stop for Linux & MacOS based systems.

Usage

# cd to project directory and build executable
$ go build .
$ chmod u+x script.sh

# start the service
$ ./script.sh start

# stop the service
$ ./script.sh stop

Replace the EXEC variable in script.sh with the name of your executable, if it's different.

Note

The http server by @luigizuccarelli uses signals to allow for graceful shutdown. Use this as a standard pattern when creating all web services.

About

A simple microservice with redis connectors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published