subscriber

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(repo repository.SubscriberRepository) *Service

func (*Service) Create

func (s *Service) Create(ctx context.Context, email string) (models.Subscriber, error)

func (*Service) DeleteByID

func (s *Service) DeleteByID(ctx context.Context, id primitive.ObjectID) error

func (*Service) List

func (s *Service) List(ctx context.Context, page, limit int) ([]models.Subscriber, int64, error)

Jump to

Keyboard shortcuts

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