Documentation ¶
Index ¶
- func IsShared(manager Manager) bool
- func ManagerFactories() map[string]ManagerFactory
- func Managers() map[string]Manager
- func ReconfigureConnections(connections map[string]*Config) (err error)
- func RegisterManager(connectionId string, manager Manager) error
- func RegisterManagerFactory(factory ManagerFactory) error
- func ReplaceManagerFactory(ref string, factory ManagerFactory) error
- func ResolveConfig(config *Config) error
- type Config
- type Manager
- type ManagerFactory
- type ReconfigurableConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManagerFactories ¶
func ManagerFactories() map[string]ManagerFactory
func ReconfigureConnections ¶
func RegisterManager ¶
func RegisterManagerFactory ¶
func RegisterManagerFactory(factory ManagerFactory) error
func ReplaceManagerFactory ¶
func ReplaceManagerFactory(ref string, factory ManagerFactory) error
func ResolveConfig ¶
Types ¶
type Config ¶
type Manager ¶
type Manager interface { Type() string GetConnection() interface{} ReleaseConnection(connection interface{}) }
func GetManager ¶
func NewManager ¶
type ManagerFactory ¶
type ManagerFactory interface { Type() string NewManager(settings map[string]interface{}) (Manager, error) }
func GetManagerFactory ¶
func GetManagerFactory(ref string) ManagerFactory
type ReconfigurableConnection ¶
ReconfigurableConnection allows dynamic update for existing connection instance
Click to show internal directories.
Click to hide internal directories.