service

package
v1.0.0-beta.227 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(
	cfg Config,
) (subscriptionaddon.Service, error)

Types

type Config

type Config struct {
	// repos
	SubAddRepo    subscriptionaddon.SubscriptionAddonRepository
	SubAddQtyRepo subscriptionaddon.SubscriptionAddonQuantityRepository

	Publisher eventbus.Publisher
	TxManager transaction.Creator

	// external
	AddonService     addon.Service
	PlanAddonService planaddon.Service
	SubService       subscription.Service
	Logger           *slog.Logger
}

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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