Documentation ¶
Index ¶
- func NewConfigGenericConnector(config interface{}, interceptors ...interceptor.Intercepter) connectors.Connector
- func NewSchemaBasedGenericConnector(id, name string, tags []string, schema interface{}, ...) connectors.Connector
- type ConfigGenericConnector
- type SchemaBasedGenericConnector
- func (c SchemaBasedGenericConnector) Id() string
- func (c SchemaBasedGenericConnector) Intercepter() interceptor.Intercepter
- func (c SchemaBasedGenericConnector) Load(schema interface{}) (interface{}, error)
- func (c SchemaBasedGenericConnector) Name() string
- func (c SchemaBasedGenericConnector) Schema() interface{}
- func (c SchemaBasedGenericConnector) Tags() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigGenericConnector ¶
func NewConfigGenericConnector(config interface{}, interceptors ...interceptor.Intercepter) connectors.Connector
func NewSchemaBasedGenericConnector ¶
func NewSchemaBasedGenericConnector(id, name string, tags []string, schema interface{}, interceptors ...interceptor.Intercepter) connectors.Connector
Types ¶
type ConfigGenericConnector ¶
type ConfigGenericConnector struct {
SchemaBasedGenericConnector
}
func (ConfigGenericConnector) Intercepter ¶
func (c ConfigGenericConnector) Intercepter() interceptor.Intercepter
type SchemaBasedGenericConnector ¶
type SchemaBasedGenericConnector struct {
// contains filtered or unexported fields
}
func (SchemaBasedGenericConnector) Id ¶
func (c SchemaBasedGenericConnector) Id() string
func (SchemaBasedGenericConnector) Intercepter ¶
func (c SchemaBasedGenericConnector) Intercepter() interceptor.Intercepter
func (SchemaBasedGenericConnector) Load ¶
func (c SchemaBasedGenericConnector) Load(schema interface{}) (interface{}, error)
func (SchemaBasedGenericConnector) Name ¶
func (c SchemaBasedGenericConnector) Name() string
func (SchemaBasedGenericConnector) Schema ¶
func (c SchemaBasedGenericConnector) Schema() interface{}
func (SchemaBasedGenericConnector) Tags ¶
func (c SchemaBasedGenericConnector) Tags() []string
Click to show internal directories.
Click to hide internal directories.