registry

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 2 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 (
	// ClientMock is a mock client for the settlement layer
	ClientMock 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