manager

package
v1.0.0-...-a0f063d Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Concrete

type Concrete[T any] func(driverName string, args ...any) (T, error)

type IManager

type IManager[T any] interface {
	DefaultDriverName() string
	HasCustomCreator(name string) bool
	Resolved(name string) bool
	Driver(name string) (T, error)
	MustDriver(name string) T
	Remove(name string)
	RemoveCustomCreator(name string)
	DefaultDriver() (T, error)
	MustDefaultDriver() T
}

Jump to

Keyboard shortcuts

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