client

package
v0.2.0-fix-2-test Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL