Documentation
¶
Index ¶
- type Service
- func (s *Service) Create(ctx context.Context, blockchain wconstants.BlockchainType, number int64, ...) error
- func (s *Service) LastBlockNumber(ctx context.Context, blockchain wconstants.BlockchainType) (int64, error)
- func (s *Service) UpdateNumber(ctx context.Context, blockchain wconstants.BlockchainType, number int64, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Create ¶
func (s *Service) Create(ctx context.Context, blockchain wconstants.BlockchainType, number int64, opts ...repos.Option) error
Create
func (*Service) LastBlockNumber ¶
func (s *Service) LastBlockNumber(ctx context.Context, blockchain wconstants.BlockchainType) (int64, error)
LastBlockNumber
func (*Service) UpdateNumber ¶
func (s *Service) UpdateNumber(ctx context.Context, blockchain wconstants.BlockchainType, number int64, opts ...repos.Option) error
UpdateNumber
Click to show internal directories.
Click to hide internal directories.