Documentation ¶
Index ¶
- func NewMessageHeaderSource(opts ...Option) (eaclSDK.TypedHeaderSource, error)
- type HeaderSource
- type ObjectStorage
- type Option
- func WithCID(v cid.ID) Option
- func WithHeaderSource(hs HeaderSource) Option
- func WithLocalObjectStorage(v *engine.StorageEngine) Option
- func WithOID(v *oid.ID) Option
- func WithObjectStorage(v ObjectStorage) Option
- func WithServiceRequest(v Request) Option
- func WithServiceResponse(resp Response, req Request) Option
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMessageHeaderSource ¶
func NewMessageHeaderSource(opts ...Option) (eaclSDK.TypedHeaderSource, error)
Types ¶
type HeaderSource ¶ added in v0.41.0
type HeaderSource interface { // Head returns object (may be with or be without payload) by its address. Head(oid.Address) (*object.Object, error) }
HeaderSource represents a source of the object headers.
type Option ¶
type Option func(*cfg)
func WithHeaderSource ¶ added in v0.41.0
func WithHeaderSource(hs HeaderSource) Option
func WithLocalObjectStorage ¶
func WithLocalObjectStorage(v *engine.StorageEngine) Option
func WithObjectStorage ¶
func WithObjectStorage(v ObjectStorage) Option
func WithServiceRequest ¶
func WithServiceResponse ¶
type Request ¶
type Request interface {
GetMetaHeader() *session.RequestMetaHeader
}
type Response ¶
type Response interface {
GetMetaHeader() *session.ResponseMetaHeader
}
Click to show internal directories.
Click to hide internal directories.