Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(dbClient *gorm.DB) *Repository
func (Repository) Get ¶
func (r Repository) Get(id string) (*entity.Fee, error)
Returns Fee. Returns nil if not found
func (Repository) GetAllSubmittedIds ¶
func (r Repository) GetAllSubmittedIds() ([]*entity.Fee, error)
func (Repository) UpdateStatusCompleted ¶
func (r Repository) UpdateStatusCompleted(txId string) error
func (Repository) UpdateStatusFailed ¶
func (r Repository) UpdateStatusFailed(txId string) error
Click to show internal directories.
Click to hide internal directories.