adapter

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	// contains filtered or unexported fields
}

func New

func New(options ...Option) *Clients

func (*Clients) AmazonS3

func (x *Clients) AmazonS3() interfaces.AmazonS3

func (*Clients) AzureBlobStorage

func (x *Clients) AzureBlobStorage() interfaces.AzureBlobStorage

func (*Clients) GoogleCloudStorage

func (x *Clients) GoogleCloudStorage() interfaces.GoogleCloudStorage

func (*Clients) HTTPClient

func (x *Clients) HTTPClient() interfaces.HTTPClient

func (*Clients) Query

func (x *Clients) Query() *opac.Client

type Option

type Option func(*Clients)

func WithAmazonS3

func WithAmazonS3(client interfaces.AmazonS3) Option

func WithAzureBlobStorage

func WithAzureBlobStorage(client interfaces.AzureBlobStorage) Option

func WithGoogleCloudStorage

func WithGoogleCloudStorage(client interfaces.GoogleCloudStorage) Option

func WithHTTPClient

func WithHTTPClient(httpClient interfaces.HTTPClient) Option

func WithPolicy

func WithPolicy(query *opac.Client) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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