1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-05 10:20:53 +02:00
go-micro/examples/template/srv
2020-12-26 15:21:29 +00:00
..
handler rename imports 2020-12-26 15:21:29 +00:00
proto/example Add examples 2020-12-26 15:17:20 +00:00
subscriber rename imports 2020-12-26 15:21:29 +00:00
Dockerfile Add examples 2020-12-26 15:17:20 +00:00
main.go rename imports 2020-12-26 15:21:29 +00:00
Makefile Add examples 2020-12-26 15:17:20 +00:00
plugin.go Add examples 2020-12-26 15:17:20 +00:00
README.md rename imports 2020-12-26 15:21:29 +00:00

Template Service

This is the Template service

Generated with

micro new github.com/micro/go-micro/examples/template/srv --namespace=go.micro --alias=template --type=srv

Getting Started

Configuration

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

Usage

A Makefile is included for convenience

Build the binary

make build

Run the service

./template-srv

Build a docker image

make docker