registry

package
v0.5.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: Apache-2.0 Imports: 3 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 (
	// Mock is a mock client for the settlement layer
	Mock Client = "mock"
	// Dymension is a client for interacting with dymension settlement layer
	Dymension Client = "dymension"
)

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