v2

package
v0.28.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessageHeaderSource

func NewMessageHeaderSource(opts ...Option) eaclSDK.TypedHeaderSource

Types

type ObjectStorage

type ObjectStorage interface {
	Head(*objectSDKAddress.Address) (*object.Object, error)
}

type Option

type Option func(*cfg)

func WithAddress added in v0.13.0

func WithAddress(v *addressSDK.Address) Option

func WithLocalObjectStorage

func WithLocalObjectStorage(v *engine.StorageEngine) Option

func WithObjectStorage

func WithObjectStorage(v ObjectStorage) Option

func WithServiceRequest

func WithServiceRequest(v Request) Option

func WithServiceResponse

func WithServiceResponse(resp Response, req Request) Option

type Request

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

type Response

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

Jump to

Keyboard shortcuts

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