ads

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: 9 Imported by: 0

Documentation

Overview

Package ads implements the ads subdomain of the support module. Only the module facade (internal/module/support) may reach it.

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.AdsRepo) *Service

func (*Service) Create

func (s *Service) Create(ctx context.Context, req *dto.CreateAdsRequest) error

func (*Service) Delete

func (s *Service) Delete(ctx context.Context, req *dto.DeleteAdsRequest) error

func (*Service) GetDetail

func (s *Service) GetDetail(ctx context.Context, req *dto.GetAdsDetailRequest) (*dto.Ads, error)

func (*Service) GetPublicAds

func (s *Service) GetPublicAds(ctx context.Context, req *dto.GetAdsRequest) (resp *dto.GetAdsResponse, err error)

GetPublicAds lists the active ads for the public site.

func (*Service) List

func (*Service) Update

func (s *Service) Update(ctx context.Context, req *dto.UpdateAdsRequest) error

Jump to

Keyboard shortcuts

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