registry

package
v1.1.1-hotfix.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(client Client) settlement.LayerI

GetClient returns client identified by name.

Types

type Client

type Client string

Client represents a settlement layer client

const (
	// Local is a mock client for the settlement layer
	Local Client = "mock"
	// Dymension is a client for interacting with dymension settlement layer
	Dymension Client = "dymension"
	// Mock client using grpc for a shared use
	Grpc Client = "grpc"
)

func RegisteredClients

func RegisteredClients() []Client

RegisteredClients returns names of all settlement clients in registry.

Jump to

Keyboard shortcuts

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