Skip to content

Latest commit

 

History

History
 
 

PostRet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PostRet Service

This is the PostRet service

Generated with

micro new sss/PostRet --namespace=go.micro --type=srv

Getting Started

Configuration

  • FQDN: go.micro.srv.PostRet
  • Type: srv
  • Alias: PostRet

Dependencies

Micro services depend on service discovery. The default is consul.

# install consul
brew install consul

# run consul
consul agent -dev

Usage

A Makefile is included for convenience

Build the binary

make build

Run the service

./PostRet-srv

Build a docker image

make docker