Documentation ¶
Overview ¶
Package grpc implements transaction protocols using gRPC
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerClient ¶
type ManagerClient struct {
// contains filtered or unexported fields
}
ManagerClient implemets tcommit.Manager interface. It is assumed to be a part of the resource manager for remote procedure calls.
func NewManagerClient ¶
func NewManagerClient(grpcClient pb.ManagerServiceClient) *ManagerClient
NewManagerClient with a given gRPC client.
type ResourceClient ¶
type ResourceClient struct {
// contains filtered or unexported fields
}
ResourceClient implements tcommit.Resource interface. It is assumed to be a part of the transaction manager for remote procedure calls.
func NewResourceClient ¶
func NewResourceClient(grpcClient pb.ResourceServiceClient) *ResourceClient
NewResourceClient with a given gRPC client
Click to show internal directories.
Click to hide internal directories.