Microuser Service
This is the Microuser service
Generated with
micro new --namespace=go.micro --type=service github.com/sftfjugg/microuser
Getting Started
Configuration
- FQDN: go.micro.service.microuser
- Type: service
- Alias: microuser
Dependencies
Micro services depend on service discovery. The default is multicast DNS, a zeroconf system.
In the event you need a resilient multi-host setup we recommend etcd.
docker run --name nacos-standalone -e MODE=standalone -e JVM_XMS=512m -e JVM_XMX=512m -e JVM_XMN=256m -p 8848:8848 -d nacos/nacos-server:latest
# install etcd
brew install etcd
# run etcd
etcd
Usage
A Makefile is included for convenience
Build the binary
make build
Run the service
./microuser-service
Build a docker image
make docker