1 Star 0 Fork 0

画虎 / gsf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
direct.go 244 Bytes
一键复制 编辑 原始数据 按行查看 历史
GEMDALE\chenwei14 提交于 2021-07-09 14:09 . 基础框架
package discov
func NewDirectDiscover(conf Conf) (Discover, error) {
return &DirectDiscover{
conf: conf,
}, nil
}
type DirectDiscover struct {
conf Conf
}
func (d *DirectDiscover) Endpoint() (string, error) {
return d.conf.Host, nil
}
Go
1
https://gitee.com/gaodihu/gsf.git
git@gitee.com:gaodihu/gsf.git
gaodihu
gsf
gsf
v0.0.6

搜索帮助