engineconn

package
v0.3.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(scheme string, fn RegisterFunc)

Register registers new connectionhelper for scheme

Types

type Config

type Config struct {
	Workdir      string
	ConfigPath   string
	LocalDirs    map[string]string
	NoExtensions bool
	LogOutput    io.Writer
}

type EngineConn

type EngineConn interface {
	Connect(ctx context.Context, cfg *Config) (*http.Client, error)
	Close() error
}

func Get

func Get(host string) (EngineConn, error)

type RegisterFunc

type RegisterFunc func(*url.URL) (EngineConn, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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