connector

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterConnector

func RegisterConnector(cType string, cnt Connector) error

func UnregisterConnector

func UnregisterConnector(cType string)

Types

type Connector

type Connector interface {
	Attach(map[string]interface{}) (string, error)
	Detach(map[string]interface{}) error
}

func NewConnector

func NewConnector(cType string) Connector

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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