registry

package
v0.4.0-beta Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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.LayerClient

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