manager

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidScheme is returned when a scheme is invalid
	ErrInvalidScheme = errors.New("invalid scheme")
)

Functions

func Register

func Register(b DSNParser)

Register ...

Types

type DSN

type DSN struct {
	Scheme      string
	ServiceName string
	Registry    eregistry.Registry
}

DSN ...

func Parse

func Parse(dsn string) (cfg *DSN, err error)

Parse ...

type DSNParser

type DSNParser interface {
	ParseDSN(string) (cfg *DSN, err error)
	Scheme() string
}

DSNParser ...

Jump to

Keyboard shortcuts

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