plugin

package
v1.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigPlugins            = map[string]ConfigPlugin{}
	ClientPlugins            = map[string]ClientPlugin{}
	ServerPlugins            = map[string]ServerPlugin{}
	BrokerPlugins            = map[string]BrokerPlugin{}
	TransportPlugins         = map[string]TransportPlugin{}
	SelectorPlugins          = map[string]SelectorPlugin{}
	RegistryPlugins          = map[string]RegistryPlugin{}
	LoggerPlugins            = map[string]LoggerPlugin{}
	AuthPlugins              = map[string]AuthPlugin{}
	AuthTokenProviderPlugins = map[string]AuthTokenProviderPlugin{}
)

Functions

This section is empty.

Types

type AuthPlugin

type AuthPlugin interface {
	Plugin
	Options() []auth.Option
	New(...auth.Option) auth.Auth
}

type AuthTokenProviderPlugin

type AuthTokenProviderPlugin interface {
	Plugin
	Options() []token.Option
	New(...token.Option) token.Provider
}

type BrokerPlugin

type BrokerPlugin interface {
	Plugin
	Options() []broker.Option
	New(...broker.Option) broker.Broker
}

type ClientPlugin

type ClientPlugin interface {
	Plugin
	Options() []client.Option
	New(...client.Option) client.Client
}

type ConfigPlugin

type ConfigPlugin interface {
	Plugin
	Options() []config.Option
	New(...config.Option) config.Config
}

type LoggerPlugin

type LoggerPlugin interface {
	Plugin
	Options() []logger.Option
	New(...logger.Option) logger.Logger
}

type Plugin

type Plugin interface {
	Name() string
}

type RegistryPlugin

type RegistryPlugin interface {
	Plugin
	Options() []registry.Option
	New(...registry.Option) registry.Registry
}

type SelectorPlugin

type SelectorPlugin interface {
	Plugin
	Options() []selector.Option
	New(...selector.Option) selector.Selector
}

type ServerPlugin

type ServerPlugin interface {
	Plugin
	Options() []server.Option
	New(...server.Option) server.Server
}

type ServicePlugin

type ServicePlugin interface {
	Plugin
	Options() []service.Option
	New(...service.Option) service.Service
}

type TransportPlugin

type TransportPlugin interface {
	Plugin
	Options() []transport.Option
	New(...transport.Option) transport.Transport
}

Directories

Path Synopsis
broker
nats Module
config
source/apollo Module
logger
logrus Module
registry
consul Module
etcd Module
zookeeper Module
service
stackway Module

Jump to

Keyboard shortcuts

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