Documentation ¶
Index ¶
Constants ¶
View Source
const (
// GRPC module name
GRPC = "grpc"
)
Variables ¶
View Source
var ErrNoReply = errors.New("request need @response")
ErrNoReply ...
Functions ¶
Types ¶
type Client ¶
type Client struct { *grpc.ClientConn // contains filtered or unexported fields }
Client ...
type DubboGrpcService ¶
type DubboGrpcService interface { SetProxyImpl(impl protocol.Invoker) GetProxyImpl() protocol.Invoker ServiceDesc() *grpc.ServiceDesc }
DubboGrpcService ...
type GrpcExporter ¶
type GrpcExporter struct {
*protocol.BaseExporter
}
GrpcExporter ...
func NewGrpcExporter ¶
NewGrpcExporter ...
type GrpcInvoker ¶
type GrpcInvoker struct { protocol.BaseInvoker // contains filtered or unexported fields }
GrpcInvoker ...
func NewGrpcInvoker ¶
func NewGrpcInvoker(url common.URL, client *Client) *GrpcInvoker
NewGrpcInvoker ...
func (*GrpcInvoker) Invoke ¶
func (gi *GrpcInvoker) Invoke(ctx context.Context, invocation protocol.Invocation) protocol.Result
Invoke ...
type GrpcProtocol ¶
type GrpcProtocol struct { protocol.BaseProtocol // contains filtered or unexported fields }
GrpcProtocol ...
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
just for test, never use internal for production.
|
just for test, never use internal for production. |
plugin/dubbo
Package dubbo plugin for protobuf.
|
Package dubbo plugin for protobuf. |
Click to show internal directories.
Click to hide internal directories.