Documentation
¶
Index ¶
- type HeimdallGRPCClient
- func (h *HeimdallGRPCClient) Close()
- func (h *HeimdallGRPCClient) FetchCheckpoint(ctx context.Context, number int64) (*checkpoint.Checkpoint, error)
- func (h *HeimdallGRPCClient) FetchCheckpointCount(ctx context.Context) (int64, error)
- func (h *HeimdallGRPCClient) Span(ctx context.Context, spanID uint64) (*span.HeimdallSpan, error)
- func (h *HeimdallGRPCClient) StateSyncEvents(ctx context.Context, fromID uint64, to int64) ([]*clerk.EventRecordWithTime, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeimdallGRPCClient ¶
type HeimdallGRPCClient struct {
// contains filtered or unexported fields
}
func NewHeimdallGRPCClient ¶
func NewHeimdallGRPCClient(address string) *HeimdallGRPCClient
func (*HeimdallGRPCClient) Close ¶
func (h *HeimdallGRPCClient) Close()
func (*HeimdallGRPCClient) FetchCheckpoint ¶
func (h *HeimdallGRPCClient) FetchCheckpoint(ctx context.Context, number int64) (*checkpoint.Checkpoint, error)
func (*HeimdallGRPCClient) FetchCheckpointCount ¶
func (h *HeimdallGRPCClient) FetchCheckpointCount(ctx context.Context) (int64, error)
func (*HeimdallGRPCClient) Span ¶
func (h *HeimdallGRPCClient) Span(ctx context.Context, spanID uint64) (*span.HeimdallSpan, error)
func (*HeimdallGRPCClient) StateSyncEvents ¶
func (h *HeimdallGRPCClient) StateSyncEvents(ctx context.Context, fromID uint64, to int64) ([]*clerk.EventRecordWithTime, error)
Click to show internal directories.
Click to hide internal directories.