repository

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: GPL-3.0 Imports: 14 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) AddSubscription added in v1.5.0

func (*Repository) DeleteSavedCard

func (*Repository) DeleteSubscription added in v1.5.0

func (*Repository) FindSavedCardById

func (r *Repository) FindSavedCardById(
	ctx context.Context,
	req *recurringpb.FindByStringValue,
	rsp *recurringpb.SavedCard,
) error

func (*Repository) FindSavedCards

func (r *Repository) FindSavedCards(
	ctx context.Context,
	req *recurringpb.SavedCardRequest,
	rsp *recurringpb.SavedCardList,
) error

func (*Repository) FindSubscriptions added in v1.5.0

func (*Repository) GetSubscription added in v1.5.0

func (*Repository) InsertSavedCard

func (r *Repository) InsertSavedCard(
	ctx context.Context,
	req *recurringpb.SavedCardRequest,
	_ *recurringpb.Result,
) error

func (*Repository) UpdateSubscription added in v1.5.0

Jump to

Keyboard shortcuts

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