Documentation ¶
Index ¶
- type Provider
- func (u *Provider) Commit() error
- func (u *Provider) GetAccount() account.Repo
- func (u *Provider) GetBaker() baker.Repo
- func (u *Provider) GetBlock() block.Repo
- func (u *Provider) GetDoubleBaking() double_baking.Repo
- func (u *Provider) GetFutureBakingRight() future_baking_rights.Repo
- func (u *Provider) GetOperation() operation.Repo
- func (u *Provider) GetOperationCounter() operation_counter.Repo
- func (u *Provider) GetOperationGroup() operation_groups.Repo
- func (u *Provider) GetSnapshots() snapshots.Repo
- 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) GetDoubleBaking ¶
func (u *Provider) GetDoubleBaking() double_baking.Repo
func (*Provider) GetFutureBakingRight ¶
func (u *Provider) GetFutureBakingRight() future_baking_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) 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.