Documentation
¶
Index ¶
- type IrisGRPCClient
- func (h *IrisGRPCClient) Close()
- func (h *IrisGRPCClient) FetchCheckpoint(ctx context.Context, number int64) (*checkpoint.Checkpoint, error)
- func (h *IrisGRPCClient) FetchCheckpointCount(ctx context.Context) (int64, error)
- func (h *IrisGRPCClient) FetchLastNoAckMilestone(ctx context.Context) (string, error)
- func (h *IrisGRPCClient) FetchMilestone(ctx context.Context) (*milestone.Milestone, error)
- func (h *IrisGRPCClient) FetchMilestoneCount(ctx context.Context) (int64, error)
- func (h *IrisGRPCClient) FetchMilestoneID(ctx context.Context, milestoneID string) error
- func (h *IrisGRPCClient) FetchNoAckMilestone(ctx context.Context, milestoneID string) error
- func (h *IrisGRPCClient) Span(ctx context.Context, spanID uint64) (*span.IrisSpan, error)
- func (h *IrisGRPCClient) 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 IrisGRPCClient ¶
type IrisGRPCClient struct {
// contains filtered or unexported fields
}
func NewIrisGRPCClient ¶
func NewIrisGRPCClient(address string) *IrisGRPCClient
func (*IrisGRPCClient) Close ¶
func (h *IrisGRPCClient) Close()
func (*IrisGRPCClient) FetchCheckpoint ¶
func (h *IrisGRPCClient) FetchCheckpoint(ctx context.Context, number int64) (*checkpoint.Checkpoint, error)
func (*IrisGRPCClient) FetchCheckpointCount ¶
func (h *IrisGRPCClient) FetchCheckpointCount(ctx context.Context) (int64, error)
func (*IrisGRPCClient) FetchLastNoAckMilestone ¶
func (h *IrisGRPCClient) FetchLastNoAckMilestone(ctx context.Context) (string, error)
func (*IrisGRPCClient) FetchMilestone ¶
func (*IrisGRPCClient) FetchMilestoneCount ¶
func (h *IrisGRPCClient) FetchMilestoneCount(ctx context.Context) (int64, error)
func (*IrisGRPCClient) FetchMilestoneID ¶
func (h *IrisGRPCClient) FetchMilestoneID(ctx context.Context, milestoneID string) error
func (*IrisGRPCClient) FetchNoAckMilestone ¶
func (h *IrisGRPCClient) FetchNoAckMilestone(ctx context.Context, milestoneID string) error
func (*IrisGRPCClient) StateSyncEvents ¶
func (h *IrisGRPCClient) StateSyncEvents(ctx context.Context, fromID uint64, to int64) ([]*clerk.EventRecordWithTime, error)
Click to show internal directories.
Click to hide internal directories.