Documentation
¶
Overview ¶
Package fetch provides functions for fetching objects from the index service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetObjectFromIndex ¶
func GetObjectFromIndex(ctx context.Context, idxSvc *indexrepo.Service, indexKeys string, buckets []string) (indexrepo.DataObject, error)
GetObjectFromIndex gets an object from the index service by trying to get it from each bucket in the list returning the first successful result.
func GetObjectsFromIndexs ¶
func GetObjectsFromIndexs(ctx context.Context, idxSvc *indexrepo.Service, indexKeys []string, buckets []string) ([]indexrepo.DataObject, error)
GetObjectsFromIndexs gets objects from the index service by trying to get them from each bucket in the list returning the first successful result.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Packagge httphandler provides the HTTP handler for the fetch service.
|
Packagge httphandler provides the HTTP handler for the fetch service. |
Package rpc provides the gRPC server implementation for the index repo service.
|
Package rpc provides the gRPC server implementation for the index repo service. |
Click to show internal directories.
Click to hide internal directories.