service

package
v0.0.0-...-010a373 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoService

type RepoService interface {
	FindById(repoId string) (*entity.RepoDTO, error)
}

func NewRepoService

func NewRepoService(r storage.RepoRepository) RepoService

type SubscriberService

type SubscriberService interface {
	FindByEmailAndRepoId(email string, repoId string) (*entity.SubscriberDTO, error)
	FindById(subId string) (*entity.SubscriberDTO, error)
	FindAll(repoId string) ([]*entity.SubscriberDTO, error)
	GetAll() ([]*entity.SubscriberDTO, error)
}

Jump to

Keyboard shortcuts

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