mercury

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterMercuryAdapterServer

func RegisterMercuryAdapterServer(s *grpc.Server, broker net.Broker, brokerCfg net.BrokerConfig, impl types.PluginMercury) error

Types

type AdapterClient

type AdapterClient struct {
	*goplugin.PluginClient
	*goplugin.ServiceClient
	// contains filtered or unexported fields
}

func NewMercuryAdapterClient

func NewMercuryAdapterClient(broker net.Broker, brokerCfg net.BrokerConfig, conn *grpc.ClientConn) *AdapterClient

func (*AdapterClient) NewMercuryV1Factory

func (c *AdapterClient) NewMercuryV1Factory(ctx context.Context,
	provider types.MercuryProvider, dataSource mercuryv1.DataSource,
) (types.MercuryPluginFactory, error)

func (*AdapterClient) NewMercuryV2Factory

func (c *AdapterClient) NewMercuryV2Factory(ctx context.Context,
	provider types.MercuryProvider, dataSource mercuryv2.DataSource,
) (types.MercuryPluginFactory, error)

func (*AdapterClient) NewMercuryV3Factory

func (c *AdapterClient) NewMercuryV3Factory(ctx context.Context,
	provider types.MercuryProvider, dataSource mercuryv3.DataSource,
) (types.MercuryPluginFactory, error)

type AdapterServer

type AdapterServer struct {
	mercurypb.UnimplementedMercuryAdapterServer

	*net.BrokerExt
	// contains filtered or unexported fields
}

func NewMercuryAdapterServer

func NewMercuryAdapterServer(b *net.BrokerExt, impl types.PluginMercury) *AdapterServer

type PluginFactoryClient

type PluginFactoryClient struct {
	*net.BrokerExt
	*goplugin.ServiceClient
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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