We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
triple协议非proto模式的支持,比如一个是
The text was updated successfully, but these errors were encountered:
server.Register(handler, opts...) // 反射生成 ServiceInfo,并最终进入当前proto模式: Register(handler, serviceInfo, opts...)
由 client 端的配置决定,server侧也可以设置默认配置;主推是 json?其实应该是什么格式都能支持
genericService := client.NewGenericService(ctx, interfaceName, refOpts) genericService.Call(ctx, {req, &resp}, methodName, callOpts) // 或者 client.Call(ctx, {req, &resp}, interfaceName, methodName, refOpts, callOpts)
发起调用的类型,通过 CallOption.WithContentType() 区分(映射到 Serialization 类型):
以上所有场景,考虑如何通过 cli 插件在编码/编译期做一些事情,以简化用户开发
Sorry, something went wrong.
No branches or pull requests
triple协议非proto模式的支持,比如一个是
The text was updated successfully, but these errors were encountered: