当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
3 Star 1 Fork 1

JUMEI_ARCH/micro
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
wrapper.go 474 Bytes
一键复制 编辑 原始数据 按行查看 历史
Asim Aslam 提交于 2018-04-14 19:24 . move wrapper files
package client
import (
"context"
)
// CallFunc represents the individual call func
type CallFunc func(ctx context.Context, address string, req Request, rsp interface{}, opts CallOptions) error
// CallWrapper is a low level wrapper for the CallFunc
type CallWrapper func(CallFunc) CallFunc
// Wrapper wraps a client and returns a client
type Wrapper func(Client) Client
// StreamWrapper wraps a Stream and returns the equivalent
type StreamWrapper func(Stream) Stream
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/JMArch/micro.git
git@gitee.com:JMArch/micro.git
JMArch
micro
micro
v0.11.0

搜索帮助