forked from TrueCloudLab/frostfs-api-go
16 lines
535 B
Go
16 lines
535 B
Go
|
package object
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
)
|
||
|
|
||
|
type Service interface {
|
||
|
Get(context.Context, *GetRequest) (GetObjectStreamer, error)
|
||
|
Put(context.Context) (PutObjectStreamer, error)
|
||
|
Head(context.Context, *HeadRequest) (*HeadResponse, error)
|
||
|
Search(context.Context, *SearchRequest) (SearchObjectStreamer, error)
|
||
|
Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
|
||
|
GetRange(context.Context, *GetRangeRequest) (GetRangeObjectStreamer, error)
|
||
|
GetRangeHash(context.Context, *GetRangeHashRequest) (*GetRangeHashResponse, error)
|
||
|
}
|