adapter_manager

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 9 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) GetEndpoint added in v0.0.18

func (am *AdapterManager) GetEndpoint() (*core.Endpoint, error)

func (*AdapterManager) Unregister

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

type Options

type Options struct {
	Endpoint string
	Domain   string
	Key      *keyring.KeyInfo
	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