pool

package
v0.0.0-...-47878e9 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConn

type CloudConn struct {
	*blob.Bucket
	// contains filtered or unexported fields
}

type ConfigType

type ConfigType string
const (
	ConfigTypeUnknown ConfigType = "unknown"
	ConfigTypeAzure   ConfigType = "azure"
	ConfigTypeHttp    ConfigType = "http"
)

type ConnectionConfig

type ConnectionConfig struct {
	Type ConfigType
	URL  *url.URL

	ContainerName string

	ConnectionString string
	AccountName      string
	AccountKey       string

	RemoteId int
}

func (*ConnectionConfig) OpenAzure

func (config *ConnectionConfig) OpenAzure(ctx context.Context) (CloudConn, error)

func (*ConnectionConfig) OpenHttp

func (config *ConnectionConfig) OpenHttp(ctx context.Context) (CloudConn, error)

Jump to

Keyboard shortcuts

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