v2

package
v0.42.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessageHeaderSource

func NewMessageHeaderSource(os ObjectStorage, xhs XHeaderSource, cnrID cid.ID, opts ...Option) (eaclSDK.TypedHeaderSource, error)

Types

type ObjectStorage

type ObjectStorage interface {
	Head(context.Context, oid.Address) (*objectSDK.Object, error)
}

type Option

type Option func(*cfg)

func WithOID

func WithOID(v *oid.ID) Option

type Request

type Request interface {
	GetMetaHeader() *session.RequestMetaHeader
}

type Response

type Response interface {
	GetMetaHeader() *session.ResponseMetaHeader
}

type XHeaderSource added in v0.37.0

type XHeaderSource interface {
	GetXHeaders() []eaclSDK.Header
}

func NewRequestXHeaderSource added in v0.37.0

func NewRequestXHeaderSource(req Request) XHeaderSource

func NewResponseXHeaderSource added in v0.37.0

func NewResponseXHeaderSource(resp Response, req Request) XHeaderSource

Jump to

Keyboard shortcuts

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