Documentation ¶
Index ¶
- type Repository
- func (r *Repository) DeleteSavedCard(ctx context.Context, req *repository.FindByStringValue, rsp *repository.Result) error
- func (r *Repository) FindSavedCardById(ctx context.Context, req *repository.FindByStringValue, rsp *entity.SavedCard) error
- func (r *Repository) FindSavedCards(ctx context.Context, req *repository.SavedCardRequest, ...) error
- func (r *Repository) InsertSavedCard(ctx context.Context, req *repository.SavedCardRequest, rsp *repository.Result) error
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 NewRepositoryService ¶ added in v1.0.105
func NewRepositoryService(db *mongodb.Source) *Repository
func (*Repository) DeleteSavedCard ¶
func (r *Repository) DeleteSavedCard( ctx context.Context, req *repository.FindByStringValue, rsp *repository.Result, ) error
func (*Repository) FindSavedCardById ¶
func (r *Repository) FindSavedCardById( ctx context.Context, req *repository.FindByStringValue, rsp *entity.SavedCard, ) error
func (*Repository) FindSavedCards ¶
func (r *Repository) FindSavedCards( ctx context.Context, req *repository.SavedCardRequest, rsp *repository.SavedCardList, ) error
func (*Repository) InsertSavedCard ¶
func (r *Repository) InsertSavedCard( ctx context.Context, req *repository.SavedCardRequest, rsp *repository.Result, ) error
Click to show internal directories.
Click to hide internal directories.