client

package
v0.1.0-fix-7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetadataClient

type MetadataClient struct {
	// contains filtered or unexported fields
}

MetadataClient is an metadata gRPC service client wrapper

func NewMetadataClient

func NewMetadataClient(address string) (*MetadataClient, error)

NewMetadataClient return an MetadataClient instance

func (*MetadataClient) Close

func (client *MetadataClient) Close() error

Close the metadata gPRC client connection

func (*MetadataClient) GetBucketByBucketID

GetBucketByBucketID get bucket info by a bucket id

func (*MetadataClient) GetBucketByBucketName

GetBucketByBucketName get bucket info by a bucket name

func (*MetadataClient) GetObjectByObjectNameAndBucketName added in v0.1.1

GetObjectByObjectNameAndBucketName get object info by an object name and a bucket name

func (*MetadataClient) GetPaymentByBucketID

GetPaymentByBucketID get bucket payment info by a bucket id

func (*MetadataClient) GetPaymentByBucketName

GetPaymentByBucketName get bucket payment info by a bucket name

func (*MetadataClient) GetUserBuckets

GetUserBuckets get buckets info by a user address

func (*MetadataClient) GetUserBucketsCount

GetUserBucketsCount get buckets count by a user address

func (*MetadataClient) ListDeletedObjectsByBlockNumberRange

ListDeletedObjectsByBlockNumberRange list deleted objects info by a block range

func (*MetadataClient) ListObjectsByBucketName

ListObjectsByBucketName list objects info by a bucket name

Jump to

Keyboard shortcuts

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