repository

package
v1.0.125 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: GPL-3.0 Imports: 12 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 NewRepositoryService added in v1.0.105

func NewRepositoryService(db *mongodb.Source) *Repository

func (*Repository) DeleteSavedCard

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

Jump to

Keyboard shortcuts

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