Documentation ¶
Index ¶
Constants ¶
View Source
const GRPC = "grpc"
Variables ¶
View Source
var ErrNoReply = errors.New("request need @response")
Functions ¶
func GetProtocol ¶
Types ¶
type Client ¶
type Client struct { *grpc.ClientConn // contains filtered or unexported fields }
type DubboGrpcService ¶
type GrpcExporter ¶
type GrpcExporter struct {
*protocol.BaseExporter
}
func NewGrpcExporter ¶
func (*GrpcExporter) Unexport ¶
func (gg *GrpcExporter) Unexport()
type GrpcInvoker ¶
type GrpcInvoker struct { protocol.BaseInvoker // contains filtered or unexported fields }
func NewGrpcInvoker ¶
func NewGrpcInvoker(url common.URL, client *Client) *GrpcInvoker
func (*GrpcInvoker) Destroy ¶
func (gi *GrpcInvoker) Destroy()
func (*GrpcInvoker) Invoke ¶
func (gi *GrpcInvoker) Invoke(invocation protocol.Invocation) protocol.Result
func (*GrpcInvoker) IsAvailable ¶
func (gi *GrpcInvoker) IsAvailable() bool
func (*GrpcInvoker) IsDestroyed ¶
func (gi *GrpcInvoker) IsDestroyed() bool
type GrpcProtocol ¶
type GrpcProtocol struct { protocol.BaseProtocol // contains filtered or unexported fields }
func NewGRPCProtocol ¶
func NewGRPCProtocol() *GrpcProtocol
func (*GrpcProtocol) Destroy ¶
func (gp *GrpcProtocol) Destroy()
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
just for test, never use internal for production.
|
just for test, never use internal for production. |
plugin/dubbo
dubbo plugin for protobuf.
|
dubbo plugin for protobuf. |
Click to show internal directories.
Click to hide internal directories.