Documentation
¶
Index ¶
- type Collection
- func (s *Collection) QueryBlock(ctx context.Context, blockID int64) (*types.BlockInfo, error)
- func (s *Collection) QueryEvent(ctx context.Context, blockID int64) (*types.EventsConnection, error)
- func (s *Collection) QueryEventByID(ctx context.Context, eventID string) (*types.EventDetail, error)
- func (s *Collection) QueryExtrinsic(ctx context.Context, blockID int64) (*types.ExtrinsicsConnection, error)
- func (s *Collection) Start(ctx context.Context)
- func (s *Collection) TrackSpacePledged(ctx context.Context, r models.SpaceRepo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
func NewCollect ¶
func NewSimpleCollect ¶
func NewSimpleCollect(ctx context.Context, url string) *Collection
func (*Collection) QueryBlock ¶
func (*Collection) QueryEvent ¶
func (s *Collection) QueryEvent(ctx context.Context, blockID int64) (*types.EventsConnection, error)
func (*Collection) QueryEventByID ¶
func (s *Collection) QueryEventByID(ctx context.Context, eventID string) (*types.EventDetail, error)
func (*Collection) QueryExtrinsic ¶
func (s *Collection) QueryExtrinsic(ctx context.Context, blockID int64) (*types.ExtrinsicsConnection, error)
func (*Collection) Start ¶
func (s *Collection) Start(ctx context.Context)
func (*Collection) TrackSpacePledged ¶
Click to show internal directories.
Click to hide internal directories.