aleo

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UP   = 1
	DOWN = 0
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(cfg *config.ChainConfig) chain.IClient

NewClient initializes Client and returns the interface to chain.IClient

Types

type Client

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

func (*Client) FeedPacket

func (cl *Client) FeedPacket(ctx context.Context, ch chan<- *chain.Packet)

func (*Client) GetMissedPacket

func (cl *Client) GetMissedPacket(
	ctx context.Context, missedPkt *chain.MissedPacket) (
	*chain.Packet, error)

func (*Client) Name

func (cl *Client) Name() string

func (*Client) SetMetrics

func (cl *Client) SetMetrics(metrics *metrics.PrometheusMetrics)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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