Microservice framework following best cloud practices with a focus on productivity.
The example consists of a service and its client implementation. The service implementation uses the following components:
The client implements all Patron clients for the components used by the service. There is also a flag that allows targeting a specific service component.
First we need to start the dependencies of the example by running:
docker-compose -f docker-compose.yml up -d
Next we run the service:
go run examples/service/*
and afterwards the client:
go run examples/client/main.go
The client is able to target specific server components with a flag. Run the following argument to see what is available:
go run examples/client/main.go --help