stsrpc

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteObjectReq added in v1.3.1

type DeleteObjectReq = pb.DeleteObjectReq

type DeleteObjectResp added in v1.3.1

type DeleteObjectResp = pb.DeleteObjectResp

type GenCosStsReq added in v1.2.0

type GenCosStsReq = pb.GenCosStsReq

type GenCosStsResp added in v1.2.0

type GenCosStsResp = pb.GenCosStsResp

type GenSignedUrlReq added in v1.2.0

type GenSignedUrlReq = pb.GenSignedUrlReq

type GenSignedUrlResp added in v1.2.0

type GenSignedUrlResp = pb.GenSignedUrlResp

type GetAccessTokenReq added in v1.3.2

type GetAccessTokenReq = pb.GetAccessTokenReq

type GetAccessTokenResp added in v1.3.2

type GetAccessTokenResp = pb.GetAccessTokenResp

type StsRpc

type StsRpc interface {
	GenCosSts(ctx context.Context, in *GenCosStsReq, opts ...grpc.CallOption) (*GenCosStsResp, error)
	GenSignedUrl(ctx context.Context, in *GenSignedUrlReq, opts ...grpc.CallOption) (*GenSignedUrlResp, error)
	DeleteObject(ctx context.Context, in *DeleteObjectReq, opts ...grpc.CallOption) (*DeleteObjectResp, error)
	GetAccessToken(ctx context.Context, in *GetAccessTokenReq, opts ...grpc.CallOption) (*GetAccessTokenResp, error)
}

func NewStsRpc

func NewStsRpc(cli zrpc.Client) StsRpc

Jump to

Keyboard shortcuts

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