Cannot use custom discoverer because the interface requires internal package as arg
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- go
- 领域
- networking
调研方向
从 ragep2p/ragep2p.go 第 1531 行附近开始,检查 Discoverer 接口及其 Start 方法。确定内部参数 loghelper.LoggerWithContext 如何阻止外部实现;当 libocr 外部的自定义 discoverer 能够实现并使用该接口而无需导入该内部包时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
See here:
https://github.com/smartcontractkit/libocr/blob/master/ragep2p/ragep2p.go#L1531
Discoverer requires a Start() method that takes a loghelper.LoggerWithContext argument, but loghelper is an internal package so you cannot actually supply custom discoverers defined outside of libocr.
- 主要语言
- Go
- 星标
- 82
- 派生
- 64
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
smartcontractkit/libocr 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 45/100
smartcontractkit/libocr#94 · 2 个 reaction ·
-
难度 1/5 1 小时以内 新手友好度 50/100
smartcontractkit/libocr#87 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 25/100
smartcontractkit/libocr#35 · 1 条评论 ·
-
难度 1/5 1-3 小时 新手友好度 35/100
smartcontractkit/libocr#34 ·
查看 smartcontractkit/libocr 的全部 Issue
相似的 Issue
-
bug github_actions
难度 2/5 1-3 小时 新手友好度 75/100
registrystack/registry-stack#1393 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
JakeChampion/lang#10213 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
oasisprotocol/oasis-sdk#2523 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100