relayerset

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginArgs

type PluginArgs struct {
	TransmitterID string
	PluginConfig  []byte
}

type RelayArgs

type RelayArgs struct {
	ContractID         string
	RelayConfig        []byte
	ProviderType       string
	MercuryCredentials *types.MercuryCredentials
}

type Relayer

type Relayer interface {
	services.Service
	NewPluginProvider(rargs RelayArgs, pargs PluginArgs) (types.PluginProvider, error)
}

type RelayerSet

type RelayerSet interface {
	Get(ctx context.Context, relayID types.RelayID) (Relayer, error)
	GetAll(ctx context.Context) ([]Relayer, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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