shenyu-client-golang

English | 简体中文

Build and Test codecov.io GoDoc


Shenyu-client-golang

Shenyu-client-golang是提供了Go语言访问ShenYu网关的功能,并支持服务注册到ShenYu网关。


已支持注册到ShenYu网关的方式

  • 以Http方式注册
  • 以Nacos方式注册
  • 以Zookeeper方式注册
  • 以Consul方式注册
  • 以Etcd方式注册

要求

要求Go语言版本 1.13

SDK支持ShenYu的版本 2.4.3及以上

安装方法

使用 go get命令 安装 SDK:

$ go get -u github.com/apache/shenyu-client-golang

代码列子路径

  • shenyu-client-golang/example/**_client/main.go

开始