ems

package
v0.0.0-...-5dd395e Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorInvalidConnection       = errors.New("invalid connection object set at runtime")
	ErrorInvalidEmptyDestination = errors.New("invalid empty destination set")
)
View Source
var ConnectorLogger = log.ChildLogger(log.RootLogger(), "ems.connection")

Functions

This section is empty.

Types

type ClientManager

type ClientManager struct {
	// contains filtered or unexported fields
}

func (*ClientManager) GetConnection

func (k *ClientManager) GetConnection() interface{}

func (*ClientManager) ReleaseConnection

func (k *ClientManager) ReleaseConnection(connection interface{})

func (*ClientManager) Start

func (k *ClientManager) Start() error

func (*ClientManager) Stop

func (k *ClientManager) Stop() error

func (*ClientManager) Type

func (k *ClientManager) Type() string

type Factory

type Factory struct {
}

func (*Factory) NewManager

func (*Factory) NewManager(settings map[string]interface{}) (connection.Manager, error)

func (*Factory) Type

func (*Factory) Type() string

type Settings

type Settings struct {
	Name     string `md:"name,required"`
	URL      string `md:"url,required"`
	UserName string `md:"username"`
	Password string `md:"password"`
}

Jump to

Keyboard shortcuts

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