4 Star 12 Fork 3

yasenagat / gokit-inaction

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
transport.go 490 Bytes
一键复制 编辑 原始数据 按行查看 历史
yasenagat 提交于 2018-09-20 18:03 . C-grpc方式的sd,注意health check
package kit
import "context"
func NoDecodeRequestFunc(ctx context.Context, i interface{}) (request interface{}, err error) {
return i, nil
}
func NoEncodeResponseFunc(ctx context.Context, i interface{}) (response interface{}, err error) {
return i, nil
}
func NoEncodeRequestFunc(ctx context.Context, i interface{}) (request interface{}, err error) {
return i, nil
}
func NoDecodeResponseFunc(ctx context.Context, i interface{}) (response interface{}, err error) {
return i, nil
}
Go
1
https://gitee.com/godY/gokit-inaction.git
git@gitee.com:godY/gokit-inaction.git
godY
gokit-inaction
gokit-inaction
201036b8f164

搜索帮助