schedule

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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) Create

func (r *Repository) Create(entity *entity.Schedule) error

func (*Repository) Get

func (r *Repository) Get(id string) (*entity.Schedule, error)

Get Returns Schedule. Returns nil if not found

func (*Repository) GetAllSubmittedIds

func (r *Repository) GetAllSubmittedIds() ([]*entity.Schedule, error)

func (*Repository) GetReceiverTransferByTransactionID

func (r *Repository) GetReceiverTransferByTransactionID(id string) (*entity.Schedule, error)

func (*Repository) UpdateStatusCompleted

func (r *Repository) UpdateStatusCompleted(txId string) error

func (*Repository) UpdateStatusFailed

func (r *Repository) UpdateStatusFailed(txId string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL