通过实际示例学习Go Micro

Go qloog · 2020年11月05日 · 最后由 dadadsss 回复于 28天前 · 151 次阅读


此存储库包括可重用的微服务。

项目地址

https://github.com/micro/services

总览

Services provides a home for real world examples for using Micro v3.

  • blog - A blog app composed as micro services
  • chat - An instant messaging or group chat service
  • helloworld - A simple helloworld service
  • messages - A service for text messages
  • notes - A note taking service
  • test - A set of sample test services for Micro
  • users - User management and basic auth

使用

Pull the service directly from github

# install micro
go get github.com/micro/micro/v3

# run the server
micro server

# login with user: admin pass: micro
micro login

# run the service
micro run github.com/micro/services/helloworld

共收到 3 条回复


dadadsss 28天前

dadadsss 28天前

11