connext

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RpcClient

type RpcClient struct {
	// contains filtered or unexported fields
}

func NewRpcClient

func NewRpcClient(config config.RpcConfig, service *core.SingleContainerService) *RpcClient

func (*RpcClient) Close

func (t *RpcClient) Close() error

func (*RpcClient) IsHealthy

func (t *RpcClient) IsHealthy(ctx context.Context) bool

type Service

type Service struct {
	*core.SingleContainerService
	*RpcClient
}

func New

func New(
	name string,
	services map[string]core.Service,
	containerName string,
	dockerClient *docker.Client,
	rpcConfig config.RpcConfig,
) *Service

func (*Service) Close

func (t *Service) Close() error

func (*Service) GetEthProvider

func (t *Service) GetEthProvider() (string, error)

func (*Service) GetStatus

func (t *Service) GetStatus(ctx context.Context) string

Jump to

Keyboard shortcuts

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