Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBAdapter ¶
type DBAdapter interface {
CreateBucket(bucket *pb.Bucket) S3Error
DeleteBucket(name string) S3Error
UpdateBucket(bucket *pb.Bucket) S3Error
GetBucketByName(name string, out *pb.Bucket) S3Error
ListBuckets(in *pb.BaseRequest, out *[]pb.Bucket) S3Error
CreateObject(in *pb.Object) S3Error
UpdateObject(in *pb.Object) S3Error
DeleteObject(in *pb.DeleteObjectInput) S3Error
GetObject(in *pb.GetObjectInput, out *pb.Object) S3Error
ListObjects(in *pb.ListObjectsRequest, out *[]pb.Object) S3Error
}
var DbAdapter DBAdapter
DbAdapter is a global variable that controls database module.
Click to show internal directories.
Click to hide internal directories.