Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BBitQNull/GoKit_Demo_01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoKit_Demo_01

这是一个基于 go-kit 构建的 gRPC 微服务Demo,实现了数值相加(Sum)和字符串拼接(Concat)两个功能。

Features

  • go-kit 构建微服务架构。
  • 支持 gRPC 通信协议。
  • 支持 http 通信协议。
  • 实现 Sum 和 Concat 两个功能。
  • 使用 testify/assert 进行单元测试

Quick Start

# server
go run ./cmd/server
# client
go run ./cmd/client
# test
go test -v ./test

About

A microservice demo based on go-kit, with transport using gRPC and HTTP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages