Documentation ¶
Index ¶
- type Provider
- func (u *Provider) Commit() error
- func (u *Provider) GetAccount() account.Repo
- func (u *Provider) GetAssets() assets.Repo
- func (u *Provider) GetBaker() baker.Repo
- func (u *Provider) GetBaking() baking.Repo
- func (u *Provider) GetBlock() block.Repo
- func (u *Provider) GetChart() chart.Repo
- func (u *Provider) GetDailyStats() daily_stats.Repo
- func (u *Provider) GetDoubleBaking() double_baking.Repo
- func (u *Provider) GetDoubleEndorsement() double_endorsement.Repo
- func (u *Provider) GetEndorsing() endorsing.Repo
- func (u *Provider) GetFutureBakingRight() future_baking_rights.Repo
- func (u *Provider) GetFutureEndorsementRight() future_endorsement_rights.Repo
- func (u *Provider) GetNFT() nft.Repo
- func (u *Provider) GetOperation() operation.Repo
- func (u *Provider) GetOperationCounter() operation_counter.Repo
- func (u *Provider) GetOperationGroup() operation_groups.Repo
- func (u *Provider) GetRolls() rolls.Repo
- func (u *Provider) GetSnapshots() snapshots.Repo
- func (u *Provider) GetStorage() storage.Repo
- func (u *Provider) GetThirdPartyBakers() thirdparty_bakers.Repo
- func (u *Provider) GetUserProfile() user_profile.Repo
- func (u *Provider) GetVotingPeriod() voting_periods.Repo
- func (u *Provider) Health() (err error)
- func (u *Provider) RollbackUnlessCommitted()
- func (u *Provider) Start(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is the repository provider.
func (*Provider) GetAccount ¶
GetAccount returns a new account repository.
func (*Provider) GetDailyStats ¶
func (u *Provider) GetDailyStats() daily_stats.Repo
func (*Provider) GetDoubleBaking ¶
func (u *Provider) GetDoubleBaking() double_baking.Repo
func (*Provider) GetDoubleEndorsement ¶
func (u *Provider) GetDoubleEndorsement() double_endorsement.Repo
func (*Provider) GetEndorsing ¶
func (*Provider) GetFutureBakingRight ¶
func (u *Provider) GetFutureBakingRight() future_baking_rights.Repo
func (*Provider) GetFutureEndorsementRight ¶
func (u *Provider) GetFutureEndorsementRight() future_endorsement_rights.Repo
func (*Provider) GetOperation ¶
GetOperation returns a new operation repository.
func (*Provider) GetOperationCounter ¶
func (u *Provider) GetOperationCounter() operation_counter.Repo
func (*Provider) GetOperationGroup ¶
func (u *Provider) GetOperationGroup() operation_groups.Repo
GetOperationGroup returns a new operation group repository.
func (*Provider) GetSnapshots ¶
func (*Provider) GetStorage ¶
func (*Provider) GetThirdPartyBakers ¶
func (u *Provider) GetThirdPartyBakers() thirdparty_bakers.Repo
func (*Provider) GetUserProfile ¶
func (u *Provider) GetUserProfile() user_profile.Repo
func (*Provider) GetVotingPeriod ¶
func (u *Provider) GetVotingPeriod() voting_periods.Repo
func (*Provider) RollbackUnlessCommitted ¶
func (u *Provider) RollbackUnlessCommitted()
Directories ¶
Path | Synopsis |
---|---|
mock_account
Package mock_account is a generated GoMock package.
|
Package mock_account is a generated GoMock package. |
mock_block
Package mock_block is a generated GoMock package.
|
Package mock_block is a generated GoMock package. |
mock_operation
Package mock_operation is a generated GoMock package.
|
Package mock_operation is a generated GoMock package. |
mock_operation_group
Package mock_operation_groups is a generated GoMock package.
|
Package mock_operation_groups is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.