This is the GetSession service
Generated with
micro new RentHouseWeb/getSession --namespace=go.micro --type=srv
- FQDN: go.micro.srv.getSession
- Type: srv
- Alias: getSession
Micro services depend on service discovery. The default is consul.
# install consul
brew install consul
# run consul
consul agent -dev
A Makefile is included for convenience
Build the binary
make build
Run the service
./getSession-srv
Build a docker image
make docker