registry

package
v0.0.0-...-d785689 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRepositoryRegistry

func NewRepositoryRegistry(db *mongostore.Mongo) registry.RepositoryRegistry

Types

type RepositoryRegistry

type RepositoryRegistry struct {
	// contains filtered or unexported fields
}

func (*RepositoryRegistry) GetSwipeRepository

func (rr *RepositoryRegistry) GetSwipeRepository() portrepository.SwipeRepository

func (*RepositoryRegistry) GetUserRepository

func (rr *RepositoryRegistry) GetUserRepository() portrepository.UserRepository

func (*RepositoryRegistry) WithTransaction

func (rr *RepositoryRegistry) WithTransaction(ctx context.Context, fn func(sessCtx mongo.SessionContext) (interface{}, error)) error

type ServiceRegistry

type ServiceRegistry struct {
	// contains filtered or unexported fields
}

func (*ServiceRegistry) GetPurchaseService

func (sr *ServiceRegistry) GetPurchaseService() portservice.PurchaseService

func (*ServiceRegistry) GetSwipeService

func (sr *ServiceRegistry) GetSwipeService() portservice.SwipeService

func (*ServiceRegistry) GetUserService

func (sr *ServiceRegistry) GetUserService() portservice.UserService

Jump to

Keyboard shortcuts

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