command
Version:
v0.0.0-...-9be0976
Opens a new window with list of versions in this module.
Published: Jan 19, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
基础服务
micro new github.com/yametech/fuxi/api/base --namespace=go.micro --type=srv
Getting Started
Configuration
- FQDN: go.micro.srv.base
- Type: srv
- Alias: base
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.
当前使用使用的是ECTD,需要安装ECTD。
Usage
A Makefile is included for convenience
Build the binary
make build
Run the service
./base-srv
Build a docker image
make docker
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.