connections

package
v0.0.0-...-31d5520 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log = log.New()
)

Functions

This section is empty.

Types

type BasicFactory

type BasicFactory []client.Opt

func MakeBasicFactory

func MakeBasicFactory(opts ...client.Opt) BasicFactory

func (BasicFactory) CreateConn

func (f BasicFactory) CreateConn() (Connection, error)

type Factory

type Factory interface {
	CreateConn() (Connection, error)
}

Jump to

Keyboard shortcuts

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