Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type P2PClient ¶
type P2PClient struct {
// contains filtered or unexported fields
}
P2PClient is a p2p server gRPC service client wrapper
func NewP2PClient ¶
NewP2PClient return a P2PClient instance
func (*P2PClient) GetApproval ¶
func (p *P2PClient) GetApproval(ctx context.Context, object *storagetypes.ObjectInfo, expected int64, timeout int64, opts ...grpc.CallOption) ( map[string]*p2ptypes.GetApprovalResponse, map[string]*p2ptypes.GetApprovalResponse, error)
GetApproval asks the approval to other SP.
Click to show internal directories.
Click to hide internal directories.