1 Star 1 Fork 3

menuiis/gkit

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
instance.go 517 Bytes
一键复制 编辑 原始数据 按行查看 历史
SongZhibin97 提交于 2021-05-17 11:10 +08:00 . fix Comment format
package registry
// ServiceInstance 服务发现的实例
type ServiceInstance struct {
// ID: 全局唯一ID
ID string `json:"id"`
// Name: 注册服务的名称
Name string `json:"name"`
// Version: 版本信息
Version string `json:"version"`
// Metadata: 可携带的元数据
Metadata map[string]string `json:"metadata"`
// Endpoints: 服务实例的端点地址
// schema:
// http://127.0.0.1:8000?isSecure=false
// grpc://127.0.0.1:9000?isSecure=false
Endpoints []string `json:"endpoints"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/menciis/gkit.git
git@gitee.com:menciis/gkit.git
menciis
gkit
gkit
d3f65ed26d21

搜索帮助