Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChallengeClient ¶
type ChallengeClient struct {
// contains filtered or unexported fields
}
ChallengeClient is a challenge gRPC service client wrapper
func NewChallengeClient ¶
func NewChallengeClient(address string) (*ChallengeClient, error)
NewChallengeClient return a ChallengeClient instance
func (*ChallengeClient) ChallengePiece ¶
func (client *ChallengeClient) ChallengePiece(ctx context.Context, objectInfo *storagetypes.ObjectInfo, redundancyIdx int32, segmentIdx uint32, opts ...grpc.CallOption) ([]byte, [][]byte, []byte, error)
ChallengePiece send challenge piece request
func (*ChallengeClient) Close ¶
func (client *ChallengeClient) Close() error
Close the challenge gPRC connection
Click to show internal directories.
Click to hide internal directories.