application

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Service assembly for the client-application subdomain of the subscription module: managing the subscribe clients and previewing their delivery templates. Only the module facade may reach it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateSubscribeApplicationLogic

type CreateSubscribeApplicationLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func (*CreateSubscribeApplicationLogic) CreateSubscribeApplication

type DeleteSubscribeApplicationLogic

type DeleteSubscribeApplicationLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func (*DeleteSubscribeApplicationLogic) DeleteSubscribeApplication

func (l *DeleteSubscribeApplicationLogic) DeleteSubscribeApplication(req *dto.DeleteSubscribeApplicationRequest) error

type Deps

type Deps struct {
	Clients repository.ClientRepo
	// Nodes is a read-only view onto the network domain used by the
	// template preview.
	Nodes repository.NodeRepo
}

Deps declares the subdomain's dependencies; the module facade forwards them from the composition root.

type GetSubscribeApplicationListLogic

type GetSubscribeApplicationListLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func (*GetSubscribeApplicationListLogic) GetSubscribeApplicationList

type PreviewSubscribeTemplateLogic

type PreviewSubscribeTemplateLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func (*PreviewSubscribeTemplateLogic) PreviewSubscribeTemplate

type Service

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

Service is the client-application entry point used by the subscription facade.

func NewService

func NewService(deps Deps) *Service

func (*Service) CreateSubscribeApplication

func (s *Service) CreateSubscribeApplication(ctx context.Context, req *dto.CreateSubscribeApplicationRequest) (*dto.SubscribeApplication, error)

func (*Service) DeleteSubscribeApplication

func (s *Service) DeleteSubscribeApplication(ctx context.Context, req *dto.DeleteSubscribeApplicationRequest) error

func (*Service) UpdateSubscribeApplication

func (s *Service) UpdateSubscribeApplication(ctx context.Context, req *dto.UpdateSubscribeApplicationRequest) (*dto.SubscribeApplication, error)

type UpdateSubscribeApplicationLogic

type UpdateSubscribeApplicationLogic struct {
	logger.Logger
	// contains filtered or unexported fields
}

func (*UpdateSubscribeApplicationLogic) UpdateSubscribeApplication

Jump to

Keyboard shortcuts

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