heimdallapp

package
v0.0.0-...-11d2657 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeimdallAppClient

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

func NewHeimdallAppClient

func NewHeimdallAppClient() *HeimdallAppClient

func (*HeimdallAppClient) Close

func (h *HeimdallAppClient) Close()

func (*HeimdallAppClient) FetchCheckpoint

func (h *HeimdallAppClient) FetchCheckpoint(_ context.Context, number int64) (*checkpoint.Checkpoint, error)

func (*HeimdallAppClient) FetchCheckpointCount

func (h *HeimdallAppClient) FetchCheckpointCount(_ context.Context) (int64, error)

func (*HeimdallAppClient) FetchLastNoAckMilestone

func (h *HeimdallAppClient) FetchLastNoAckMilestone(_ context.Context) (string, error)

func (*HeimdallAppClient) FetchMilestone

func (h *HeimdallAppClient) FetchMilestone(_ context.Context) (*milestone.Milestone, error)

func (*HeimdallAppClient) FetchMilestoneCount

func (h *HeimdallAppClient) FetchMilestoneCount(_ context.Context) (int64, error)

func (*HeimdallAppClient) FetchMilestoneID

func (h *HeimdallAppClient) FetchMilestoneID(_ context.Context, milestoneID string) error

func (*HeimdallAppClient) FetchNoAckMilestone

func (h *HeimdallAppClient) FetchNoAckMilestone(_ context.Context, milestoneID string) error

func (*HeimdallAppClient) NewContext

func (h *HeimdallAppClient) NewContext() types.Context

func (*HeimdallAppClient) Span

func (h *HeimdallAppClient) Span(ctx context.Context, spanID uint64) (*span.HeimdallSpan, error)

func (*HeimdallAppClient) StateSyncEvents

func (h *HeimdallAppClient) StateSyncEvents(ctx context.Context, fromID uint64, to int64) ([]*clerk.EventRecordWithTime, error)

Jump to

Keyboard shortcuts

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