Documentation
¶
Index ¶
- type Repository
- func (r *Repository) Approve(ctx context.Context, id uint64, message string) error
- func (r *Repository) Count(ctx context.Context, qops ...application.Option) (count int64, err error)
- func (r *Repository) Create(ctx context.Context, object *models.Application) (uint64, error)
- func (r *Repository) Delete(ctx context.Context, id uint64, message string) error
- func (r *Repository) FetchList(ctx context.Context, qops ...application.Option) (list []*models.Application, err error)
- func (r *Repository) Get(ctx context.Context, id uint64) (*models.Application, error)
- func (r *Repository) Pause(ctx context.Context, id uint64, message string) error
- func (r *Repository) Reject(ctx context.Context, id uint64, message string) error
- func (r *Repository) Run(ctx context.Context, id uint64, message string) error
- func (r *Repository) Update(ctx context.Context, id uint64, object *models.Application) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
repository.Repository
}
func (*Repository) Count ¶
func (r *Repository) Count(ctx context.Context, qops ...application.Option) (count int64, err error)
func (*Repository) Create ¶
func (r *Repository) Create(ctx context.Context, object *models.Application) (uint64, error)
func (*Repository) FetchList ¶
func (r *Repository) FetchList(ctx context.Context, qops ...application.Option) (list []*models.Application, err error)
func (*Repository) Get ¶
func (r *Repository) Get(ctx context.Context, id uint64) (*models.Application, error)
func (*Repository) Update ¶
func (r *Repository) Update(ctx context.Context, id uint64, object *models.Application) error
Click to show internal directories.
Click to hide internal directories.