adapter_manager

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	ID        string
	Name      string
	Component string
}

type AdapterManager

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

func NewAdapterManager

func NewAdapterManager(options *Options) *AdapterManager

func NewAdapterManagerWithClient

func NewAdapterManagerWithClient(client *core.Client, options *Options) *AdapterManager

func (*AdapterManager) Connect

func (am *AdapterManager) Connect(host string, options *core.Options) error

func (*AdapterManager) Disconnect

func (am *AdapterManager) Disconnect()

func (*AdapterManager) GetAdapters

func (am *AdapterManager) GetAdapters() ([]*Adapter, error)

func (*AdapterManager) Register

func (am *AdapterManager) Register(component string, adapterID string, name string) error

func (*AdapterManager) Unregister

func (am *AdapterManager) Unregister(adapterID string) error

type Options

type Options struct {
	Verbose bool
}

func NewOptions

func NewOptions() *Options

Jump to

Keyboard shortcuts

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