Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CdnClient ¶
type CdnClient interface { ObtainSeeds(ctx context.Context, sr *cdnsystem.SeedRequest, opts ...grpc.CallOption) (*PieceSeedStream, error) GetPieceTasks(ctx context.Context, addr dfnet.NetAddr, req *base.PieceTaskRequest, opts ...grpc.CallOption) (*base.PiecePacket, error) UpdateState(addrs []dfnet.NetAddr) Close() error }
CdnClient see cdnsystem.CdnClient
func GetClientByAddr ¶
func GetElasticClientByAddrs ¶
type PieceSeedStream ¶
Click to show internal directories.
Click to hide internal directories.